Improved PWA options. Fully implemented auth

This commit is contained in:
Masu-Baumgartner
2024-10-02 16:31:23 +02:00
parent 522d0c1471
commit a0432eec68
17 changed files with 304 additions and 38 deletions

View File

@@ -14,7 +14,7 @@ public class AuthenticationUiHandler : IAppLoader, IAppScreen
{
var identityService = serviceProvider.GetRequiredService<IdentityService>();
return Task.FromResult(identityService.IsLoggedIn);
return Task.FromResult(!identityService.IsLoggedIn); // Only show the screen when we are not logged in
}
public RenderFragment Render() => ComponentHelper.FromType<AuthenticationScreen>();