From 619bd3e0013353a761b7d31200e193fe906a65fa Mon Sep 17 00:00:00 2001
From: "Jason N. Gaylord"
Date: Fri, 30 Jun 2017 11:40:59 -0400
Subject: [PATCH] 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.md
---
aspnetcore/security/authentication/accconfirm.md | 4 ++--
.../sample/WebApp1/Views/Account/ForgotPassword.cshtml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/aspnetcore/security/authentication/accconfirm.md b/aspnetcore/security/authentication/accconfirm.md
index 8ac57c2bab..d5cd58f73c 100644
--- a/aspnetcore/security/authentication/accconfirm.md
+++ b/aspnetcore/security/authentication/accconfirm.md
@@ -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 ` For more information on how to enable reset password ...
` 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
diff --git a/aspnetcore/security/authentication/accconfirm/sample/WebApp1/Views/Account/ForgotPassword.cshtml b/aspnetcore/security/authentication/accconfirm/sample/WebApp1/Views/Account/ForgotPassword.cshtml
index a37ee5225c..5a0ff28d28 100644
--- a/aspnetcore/security/authentication/accconfirm/sample/WebApp1/Views/Account/ForgotPassword.cshtml
+++ b/aspnetcore/security/authentication/accconfirm/sample/WebApp1/Views/Account/ForgotPassword.cshtml
@@ -1,13 +1,13 @@
-@model ForgotPasswordViewModel
+@model ForgotPasswordViewModel
@{
ViewData["Title"] = "Forgot your password?";
}
@ViewData["Title"]
-
+@*
For more information on how to enable reset password please see this
article.
-
+
*@