Update ForgotPassword.cshtml file (#3591)
* Commented out the reset password link * Updated the instructions to update the ForgotPassword.cshtml page. * Update accconfirm.md * Update accconfirm.md * Minor updates to text and to fix the code block. * Update accconfirm.mdpull/3610/head
parent
7096febfe4
commit
619bd3e001
|
@ -122,9 +122,9 @@ Note: We're also preventing a newly registered user from being automatically log
|
|||
|
||||
[!code-csharp[Main](accconfirm/sample/WebApp1/Controllers/AccountController.cs?highlight=17-23&name=snippet_ForgotPassword)]
|
||||
|
||||
Uncomment the markup in *Views/Account/ForgotPassword.cshtml*:
|
||||
Uncomment the form element in *Views/Account/ForgotPassword.cshtml*. You might want to remove the `<p> For more information on how to enable reset password ... </p>` element which contains a link to this article.
|
||||
|
||||
[!code-html[Main](accconfirm/sample/WebApp1/Views/Account/ForgotPassword.cshtml)]
|
||||
[!code-html[Main](accconfirm/sample/WebApp1/Views/Account/ForgotPassword.cshtml?highlight=7-10,12,28)]
|
||||
|
||||
## Register, confirm email, and reset password
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
@model ForgotPasswordViewModel
|
||||
@model ForgotPasswordViewModel
|
||||
@{
|
||||
ViewData["Title"] = "Forgot your password?";
|
||||
}
|
||||
|
||||
<h2>@ViewData["Title"]</h2>
|
||||
<p>
|
||||
@*<p>
|
||||
For more information on how to enable reset password please see this
|
||||
<a href="https://go.microsoft.com/fwlink/?LinkID=532713">article</a>.
|
||||
</p>
|
||||
</p>*@
|
||||
|
||||
<form asp-controller="Account" asp-action="ForgotPassword" method="post" class="form-horizontal">
|
||||
<h4>Enter your email.</h4>
|
||||
|
|
Loading…
Reference in New Issue