Skip to content

Commit

Permalink
Sprinkle [ValidateAntiForgeryToken] around the place more.
Browse files Browse the repository at this point in the history
I'm not sure this is actually necessary but can't hurt I guess.
  • Loading branch information
PJB3005 committed Jun 23, 2024
1 parent f0fd2c4 commit 61901e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions SS14.Admin/Pages/Bans/Index.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace SS14.Admin.Pages
{
[ValidateAntiForgeryToken]
public class BansModel : PageModel
{
private readonly PostgresServerDbContext _dbContext;
Expand Down
1 change: 1 addition & 0 deletions SS14.Admin/Pages/RoleBans/Index.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

namespace SS14.Admin.Pages.RoleBans;

[ValidateAntiForgeryToken]
public class Index : PageModel
{
private readonly PostgresServerDbContext _dbContext;
Expand Down

0 comments on commit 61901e5

Please sign in to comment.