security: use more antiforgery tokens
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@model Disco.Web.Areas.Config.Models.Export.EditModel
|
||||
@using (Html.BeginForm(MVC.API.Export.Update(), FormMethod.Post))
|
||||
@using (Html.BeginForm(MVC.API.Export.Update()))
|
||||
{
|
||||
@Html.AntiForgeryToken();
|
||||
@Html.HiddenFor(m => m.Id)
|
||||
@@ -199,7 +199,7 @@
|
||||
<i class="fa fa-exclamation-triangle"></i>Are you sure you want to delete the Saved @Model.ExportTypeName: @Model.Name?
|
||||
</p>
|
||||
</div>
|
||||
@using (Html.BeginForm(MVC.API.Export.Delete(), FormMethod.Post))
|
||||
@using (Html.BeginForm(MVC.API.Export.Delete()))
|
||||
{
|
||||
@Html.AntiForgeryToken()
|
||||
<input type="hidden" name="id" value="@Model.Id" />
|
||||
|
||||
Reference in New Issue
Block a user