Improve Login user experience when running on WebAssembly and address Logout scenario

This commit is contained in:
Shaun Walker
2021-02-16 08:11:36 -05:00
parent cd89b2bf7b
commit b7ce7bb3e4
2 changed files with 1 additions and 6 deletions

View File

@ -28,6 +28,7 @@ namespace Oqtane.Themes.Controls
protected async Task LogoutUser()
{
await UserService.LogoutUserAsync(PageState.User);
PageState.User = null;
if (PageState.Runtime == Oqtane.Shared.Runtime.Server)
{