Password reset
This commit is contained in:
parent
714b2e0efb
commit
31588c0d86
4 changed files with 32 additions and 6 deletions
|
|
@ -1,7 +1,9 @@
|
|||
@model ResetPasswordViewModel
|
||||
|
||||
<form asp-route-id="@Model.Id" asp-route-code="@Model.Code">
|
||||
<p>@Model.Email</p>
|
||||
<p>Your email : <code>@Model.Email</code></p>
|
||||
<input type="hidden" name="Email" value="@Model.Email" />
|
||||
@Html.ValidationSummary()
|
||||
<div class="form-group">
|
||||
<label asp-for="Password"></label>
|
||||
<input class="form-control" placeholder="Password" asp-for="Password" autofocus>
|
||||
|
|
@ -10,6 +12,7 @@
|
|||
<label asp-for="ConfirmPassword"></label>
|
||||
<input class="form-control" placeholder="ConfirmPassword" asp-for="ConfirmPassword" autofocus>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary" name="button" value="Reset">Reset Password</button>
|
||||
|
||||
</form>
|
||||
|
|
|
|||
7
src/Yavsc/Views/Account/ResetPasswordConfirmation fr.cshtml
Executable file
7
src/Yavsc/Views/Account/ResetPasswordConfirmation fr.cshtml
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
@{
|
||||
ViewData["Title"] = "Reset password confirmation";
|
||||
}
|
||||
|
||||
<h1>@ViewData["Title"].</h1>
|
||||
<p>Votre mot de passe a été ré-initialisé.
|
||||
<a href="~/signin">Cliquez ici pour vous connecter</a>.</p>
|
||||
8
src/Yavsc/Views/Account/ResetPasswordConfirmation.cshtml
Executable file
8
src/Yavsc/Views/Account/ResetPasswordConfirmation.cshtml
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
@{
|
||||
ViewData["Title"] = "Reset password confirmation";
|
||||
}
|
||||
|
||||
<h1>@ViewData["Title"].</h1>
|
||||
<p>
|
||||
Your password has been reset. Please <a href="~/signin">Click here to log in</a>.
|
||||
</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue