We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598da0d commit 6ed01e2Copy full SHA for 6ed01e2
src/Altinn.App.Core/Features/Auth/AuthenticationContext.cs
@@ -69,7 +69,7 @@ public Authenticated Current
69
{
70
authInfo = Authenticated.FromLocalTest(
71
tokenStr: token,
72
- isAuthenticated: true,
+ isAuthenticated: !string.IsNullOrWhiteSpace(token),
73
_appConfigurationCache.ApplicationMetadata,
74
() => _httpContext.Request.Cookies[_generalSettings.CurrentValue.GetAltinnPartyCookieName],
75
_profileClient.GetUserProfile,
0 commit comments