summaryrefslogtreecommitdiff
path: root/Pages/Login.razor
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2026-05-24 01:25:02 +1000
committerJake Mannens <jake@asger.xyz>2026-06-17 01:19:59 +1000
commit3aaa0042af45717d957089167eb741c71fbe43b1 (patch)
treeb100a37916df312bf919baa6edf0ecc419d772d8 /Pages/Login.razor
parentabb800e8bf33c42c2799bba0a63cfc4052874237 (diff)
Modified Razor pages and components to temporarily allow them to compile
Diffstat (limited to 'Pages/Login.razor')
-rw-r--r--Pages/Login.razor12
1 files changed, 6 insertions, 6 deletions
diff --git a/Pages/Login.razor b/Pages/Login.razor
index 723a78a..bdc6069 100644
--- a/Pages/Login.razor
+++ b/Pages/Login.razor
@@ -1,17 +1,17 @@
@page "/Login"
-@inject NavigationManager navigationManager
+@* @inject NavigationManager navigationManager *@
<PageTitle>HyperBooru Login</PageTitle>
<div/>
@code {
- [CascadingParameter]
- public Task<AuthenticationState> AuthenticationState{ get; set; }
+ // [CascadingParameter]
+ // public Task<AuthenticationState> AuthenticationState{ get; set; }
protected override void OnInitialized() {
- var authState = AuthenticationState.GetAwaiter().GetResult();
- if(authState!.User.Identity?.IsAuthenticated ?? false)
- navigationManager.NavigateTo("/");
+ // var authState = AuthenticationState.GetAwaiter().GetResult();
+ // if(authState!.User.Identity?.IsAuthenticated ?? false)
+ // navigationManager.NavigateTo("/");
}
} \ No newline at end of file