fix #4638 - add Logout Everywhere option to User Profile
This commit is contained in:
@ -61,10 +61,14 @@ namespace Oqtane.Services
|
||||
|
||||
public async Task LogoutUserAsync(User user)
|
||||
{
|
||||
// best practices recommend post is preferrable to get for logout
|
||||
await PostJsonAsync($"{Apiurl}/logout", user);
|
||||
}
|
||||
|
||||
public async Task LogoutUserEverywhereAsync(User user)
|
||||
{
|
||||
await PostJsonAsync($"{Apiurl}/logouteverywhere", user);
|
||||
}
|
||||
|
||||
public async Task<User> VerifyEmailAsync(User user, string token)
|
||||
{
|
||||
return await PostJsonAsync<User>($"{Apiurl}/verify?token={token}", user);
|
||||
|
Reference in New Issue
Block a user