Authentication added. Login/Logout operational.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
@model MileageTraker.Web.ViewModels.ChangePasswordViewModel
|
||||
|
||||
<p>
|
||||
You do not have a password for this site.
|
||||
</p>
|
||||
|
||||
@using (Html.BeginForm("Manage", "Account")) {
|
||||
@Html.AntiForgeryToken()
|
||||
@Html.ValidationSummary()
|
||||
|
||||
<fieldset>
|
||||
<legend>Set Password Form</legend>
|
||||
<ol>
|
||||
<li>
|
||||
@Html.LabelFor(m => m.NewPassword)
|
||||
@Html.PasswordFor(m => m.NewPassword)
|
||||
</li>
|
||||
<li>
|
||||
@Html.LabelFor(m => m.ConfirmPassword)
|
||||
@Html.PasswordFor(m => m.ConfirmPassword)
|
||||
</li>
|
||||
</ol>
|
||||
<input type="submit" value="Set password" />
|
||||
</fieldset>
|
||||
}
|
||||
Reference in New Issue
Block a user