From 12eaa5814ef20b0910e8d64a753378b6f6797989 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Fri, 22 May 2026 00:52:16 +1000 Subject: Initial commit --- Pages/Login.razor | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 Pages/Login.razor (limited to 'Pages/Login.razor') diff --git a/Pages/Login.razor b/Pages/Login.razor deleted file mode 100644 index 723a78a..0000000 --- a/Pages/Login.razor +++ /dev/null @@ -1,17 +0,0 @@ -@page "/Login" -@inject NavigationManager navigationManager - -HyperBooru Login - -
- -@code { - [CascadingParameter] - public Task AuthenticationState{ get; set; } - - protected override void OnInitialized() { - var authState = AuthenticationState.GetAwaiter().GetResult(); - if(authState!.User.Identity?.IsAuthenticated ?? false) - navigationManager.NavigateTo("/"); - } -} \ No newline at end of file -- cgit v1.3