Improved PWA options. Fully implemented auth
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user