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?"; }+@*
For more information on how to enable reset password please see this article. -
+*@