adding IgnoreAntiforgeryToken to some pages

This commit is contained in:
Hamid Reza Mohammadi 2021-05-23 08:15:03 +04:30
parent e7e50520df
commit 28e4987993
3 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ using RMuseum.Models.Ganjoor.ViewModels;
namespace GanjooRazor.Areas.User.Pages
{
[IgnoreAntiforgeryToken(Order = 1001)]
public class AddSongModel : PageModel
{

View File

@ -10,6 +10,7 @@ using System.Threading.Tasks;
namespace GanjooRazor.Areas.Panel.Pages
{
[IgnoreAntiforgeryToken(Order = 1001)]
public class IndexModel : PageModel
{
/// <summary>

View File

@ -12,6 +12,7 @@ using System.Threading.Tasks;
namespace GanjooRazor.Areas.User.Pages
{
[IgnoreAntiforgeryToken(Order = 1001)]
public class ReviewSongsModel : PageModel
{