mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
6e5ec0a7e7
Closes #4196 - Clear confidential info on leaving reset route - Remove nested password access, because gross - Also cleaned up some .then(f, h) to .then(f).catch(h) in setup controller
12 lines
668 B
Handlebars
12 lines
668 B
Handlebars
<section class="reset-box js-reset-box fade-in">
|
|
<form id="reset" class="reset-form" method="post" novalidate="novalidate" {{action "submit" on="submit"}}>
|
|
<div class="password-wrap">
|
|
{{input value=newPassword class="password" type="password" placeholder="Password" name="newpassword" autofocus="autofocus" }}
|
|
</div>
|
|
<div class="password-wrap">
|
|
{{input value=ne2Password class="password" type="password" placeholder="Confirm Password" name="ne2password" }}
|
|
</div>
|
|
<button class="btn btn-blue" type="submit" {{bind-attr disabled='submitButtonDisabled'}}>Reset Password</button>
|
|
</form>
|
|
</section>
|