From 42dbf40f5a2bbd6a8619eef4224e3b2e1a35f8b1 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 23 May 2024 10:06:57 +0200 Subject: [PATCH] Authentication fix --- TIAMSharedUI/Shared/Components/Navbar.razor | 11 +++++- .../Shared/Components/Navbar.razor.cs | 3 +- .../Services/CustomAuthStateProvider.cs | 34 +++++++++---------- 3 files changed, 29 insertions(+), 19 deletions(-) diff --git a/TIAMSharedUI/Shared/Components/Navbar.razor b/TIAMSharedUI/Shared/Components/Navbar.razor index ea807c68..d3f1d198 100644 --- a/TIAMSharedUI/Shared/Components/Navbar.razor +++ b/TIAMSharedUI/Shared/Components/Navbar.razor @@ -2,6 +2,7 @@ @using TIAMWebApp.Shared.Application.Interfaces @using AyCode.Interfaces.StorageHandlers @using Microsoft.Extensions.Localization +@using Microsoft.AspNetCore.Components.Authorization @@ -99,7 +100,15 @@