diff --git a/ChatRPG/Areas/Identity/Pages/Account/LogOut.cshtml b/ChatRPG/Areas/Identity/Pages/Account/LogOut.cshtml index 0addf87..d0442a0 100644 --- a/ChatRPG/Areas/Identity/Pages/Account/LogOut.cshtml +++ b/ChatRPG/Areas/Identity/Pages/Account/LogOut.cshtml @@ -1,4 +1,4 @@ -@page +@page "/Logout" @attribute [IgnoreAntiforgeryToken] @inject SignInManager SignInManager @functions { diff --git a/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml b/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml index 6946e7c..94a62af 100644 --- a/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml +++ b/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml @@ -1,4 +1,4 @@ -@page +@page "/Login" @using Microsoft.AspNetCore.Authentication @model LoginModel diff --git a/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml b/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml index 0fdd818..c7540d7 100644 --- a/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml +++ b/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml @@ -1,4 +1,4 @@ -@page +@page "/Register" @using Microsoft.AspNetCore.Authentication @model RegisterModel @{ diff --git a/ChatRPG/Pages/Index.razor b/ChatRPG/Pages/Index.razor index fb91f18..acf5a26 100644 --- a/ChatRPG/Pages/Index.razor +++ b/ChatRPG/Pages/Index.razor @@ -16,6 +16,5 @@ Dashboard - ChatRPG - diff --git a/ChatRPG/Shared/LoginDisplay.razor b/ChatRPG/Shared/LoginDisplay.razor index 25cc652..a50fa2c 100644 --- a/ChatRPG/Shared/LoginDisplay.razor +++ b/ChatRPG/Shared/LoginDisplay.razor @@ -9,8 +9,8 @@
- - + +
@@ -19,11 +19,11 @@ @code { private void Register() { - NavMan.NavigateTo("Identity/Account/Register"); + NavMan.NavigateTo("Register", forceLoad: true); } private void Login() { - NavMan.NavigateTo("Identity/Account/Login"); + NavMan.NavigateTo("Login", forceLoad: true); } }