Skip to content

Commit

Permalink
Remove asp-antiforgery from <form> tags:
Browse files Browse the repository at this point in the history
- Fixes #3
  • Loading branch information
DamianEdwards committed Apr 25, 2017
1 parent 941213d commit 296a1ed
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
For more information on how to enable reset password please see this <a href="https://go.microsoft.com/fwlink/?LinkID=532713">article</a>.
</p>

<form method="post" class="form-horizontal" asp-antiforgery="true">
<form method="post" class="form-horizontal">
<h4>Enter your email.</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
Expand Down
2 changes: 1 addition & 1 deletion RazorPagesWebApplication/Pages/Account/Login.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="row">
<div class="col-md-8">
<section>
<form method="post" class="form-horizontal" asp-antiforgery="true">
<form method="post" class="form-horizontal">
<h4>Use a local account to log in.</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<h2>@ViewData["Title"].</h2>

<form method="post" class="form-horizontal" asp-antiforgery="true">
<form method="post" class="form-horizontal">
<h4>Change Password Form</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
account so you can log in without an external login.
</p>

<form method="post" class="form-horizontal" asp-antiforgery="true">
<form method="post" class="form-horizontal">
<h4>Set your password</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<h2>@ViewData["Title"].</h2>

<form method="post" class="form-horizontal" asp-antiforgery="true">
<form method="post" class="form-horizontal">
<h4>Reset your password.</h4>
<hr />
<div asp-validation-summary="All" class="text-danger"></div>
Expand Down

0 comments on commit 296a1ed

Please sign in to comment.