resolve antiforgery issue
This commit is contained in:
@ -50,8 +50,6 @@ namespace Oqtane.Security
|
||||
|
||||
protected virtual bool ShouldValidate(AuthorizationFilterContext context)
|
||||
{
|
||||
return false;
|
||||
|
||||
// ignore antiforgery validation if a bearer token was provided
|
||||
if (context.HttpContext.Request.Headers.ContainsKey("Authorization"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user