Merge pull request #4 from oqtane/dev

Login changes
This commit is contained in:
Leigh Pointer 2021-02-17 06:46:35 +01:00 committed by GitHub
commit eef26d02d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 6 deletions

View File

@ -10,12 +10,6 @@
<ModuleMessage Message="@_message" Type="@_type" />
}
<AuthorizeView>
<Authorizing>
<text>...</text>
</Authorizing>
<Authorized>
<ModuleMessage Message="You Are Already Logged In" Type="MessageType.Info" />
</Authorized>
<NotAuthorized>
<div class="container Oqtane-Modules-Admin-Login">
<div class="form-group">

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)
{