Feature/admin (#831)
* fix redirect to login for admin page fix logout * add admin part url Co-authored-by: cedri <cedri@BAS>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
await HttpClient.PostAsync("Identity/Account/Logout", null);
|
||||
await HttpClient.PostAsync("User/Logout", null);
|
||||
await new Route(JSRuntime).RouteOutside("/Identity/Account/Login");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user