Removed anti-forgery attribute (because always true)

pull/279/head
yekalkan 8 years ago
parent a8174f220e
commit c8e12ebf1f

@ -22,7 +22,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
#region MvcFormTagHelperAttiributes
private const string ActionAttributeName = "asp-action";
private const string AntiforgeryAttributeName = "asp-antiforgery";
private const string AreaAttributeName = "asp-area";
private const string PageAttributeName = "asp-page";
private const string PageHandlerAttributeName = "asp-page-handler";
@ -47,9 +46,6 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form
[HtmlAttributeName(PageHandlerAttributeName)]
public string PageHandler { get; set; }
[HtmlAttributeName(AntiforgeryAttributeName)]
public bool? Antiforgery { get; set; }
[HtmlAttributeName(FragmentAttributeName)]
public string Fragment { get; set; }

Loading…
Cancel
Save