ignore Antiforgerytoken in logout as it can sometimes prevent a user from logging out unless they refresh their browser, due to the Antiforgerytoken being expired.
This commit is contained in:
parent
448e3a4639
commit
ec7bd8c1c8
@ -11,6 +11,7 @@ using Oqtane.Shared;
|
||||
namespace Oqtane.Pages
|
||||
{
|
||||
[Authorize]
|
||||
[IgnoreAntiforgeryToken]
|
||||
public class LogoutModel : PageModel
|
||||
{
|
||||
private readonly IUserManager _userManager;
|
||||
|
Reference in New Issue
Block a user