diff --git a/LANCommander/Pages/Profile/ChangePassword.razor b/LANCommander/Pages/Profile/ChangePassword.razor index 8ae995d..6ca2120 100644 --- a/LANCommander/Pages/Profile/ChangePassword.razor +++ b/LANCommander/Pages/Profile/ChangePassword.razor @@ -4,6 +4,7 @@ @inject UserManager UserManager @inject IMessageService MessageService @inject AuthenticationStateProvider AuthenticationStateProvider +@attribute [Authorize] diff --git a/LANCommander/Pages/Profile/Index.razor b/LANCommander/Pages/Profile/Index.razor index 36df5f7..b594adf 100644 --- a/LANCommander/Pages/Profile/Index.razor +++ b/LANCommander/Pages/Profile/Index.razor @@ -7,6 +7,7 @@ @inject AuthenticationStateProvider AuthenticationStateProvider @inject NavigationManager NavigationManager @inject IJSRuntime JSRuntime +@attribute [Authorize] diff --git a/LANCommander/Pages/Profile/Saves.razor b/LANCommander/Pages/Profile/Saves.razor index 5374c29..3f37c53 100644 --- a/LANCommander/Pages/Profile/Saves.razor +++ b/LANCommander/Pages/Profile/Saves.razor @@ -8,6 +8,7 @@ @inject AuthenticationStateProvider AuthenticationStateProvider @inject GameSaveService GameSaveService @inject IJSRuntime JSRuntime +@attribute [Authorize]