Merge pull request #4043 from sbwalker/dev
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:
commit
aef29ff6c5
@ -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