Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Update Logout.razor (#190)
Leendert de Borst8edfc3d0d6a1
diff --git a/src/AliasVault.Admin/Auth/Pages/Logout.razor b/src/AliasVault.Admin/Auth/Pages/Logout.razorindex abaa33068..7ecf11b92 100644--- a/src/AliasVault.Admin/Auth/Pages/Logout.razor+++ b/src/AliasVault.Admin/Auth/Pages/Logout.razor@@ -22,14 +22,13 @@await AuthLoggingService.LogAuthEventSuccessAsync(username!, AuthEventType.Logout);// Redirect to the home page with hard refresh.- NavigationService.RedirectTo("/", true);+ NavigationService.RedirectTo("./", true);}- catch (Exception ex)+ catch{// Hard refresh current page if sign out fails. When an interactive server session is already started// the sign-out will fail because it tries to mutate cookies which is only possible when the server// session is not started yet.- Console.WriteLine(ex);await AuthLoggingService.LogAuthEventSuccessAsync(username!, AuthEventType.Logout);NavigationService.RedirectTo(NavigationService.Uri, true);}