This commit is contained in:
Paul Schneider 2025-06-29 16:20:37 +01:00
commit 7be51c6ac3
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ namespace Yavsc.Controllers
}
// POST: Blog/Delete/5
[HttpPost, ActionName("Delete"), Authorize("IsTheAuthor")]
[HttpPost, ActionName("Delete"), Authorize("TheAuthor")]
[ValidateAntiForgeryToken]
public async Task<IActionResult> DeleteConfirmed(long id)
{