2019-03-11 08:47:45 +00:00
|
|
|
{{template "header.html" . }}
|
|
|
|
<main id="password_reset_page">
|
|
|
|
<div class="rowblock rowhead">
|
|
|
|
<div class="rowitem"><h1>{{lang "password_reset_token_head"}}</h1></div>
|
|
|
|
</div>
|
|
|
|
<div class="rowblock the_form">
|
|
|
|
<form action="/accounts/password-reset/token/submit/" method="post">
|
2020-03-23 05:31:17 +00:00
|
|
|
<input name="uid" value="{{.UID}}" type="hidden">
|
|
|
|
<input name="token" value="{{.Token}}" type="hidden">
|
2019-03-11 08:47:45 +00:00
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem formlabel"><a id="password_label">{{lang "password_reset_token_password"}}</a></div>
|
2020-03-23 05:31:17 +00:00
|
|
|
<div class="formitem"><input name="password" type="password" autocomplete="new-password" placeholder="*****" aria-labelledby="password_label" required></div>
|
2019-03-11 08:47:45 +00:00
|
|
|
</div>
|
|
|
|
<div class="formrow">
|
|
|
|
<div class="formitem formlabel"><a id="confirm_password_label">{{lang "password_reset_token_confirm_password"}}</a></div>
|
2020-03-23 05:31:17 +00:00
|
|
|
<div class="formitem"><input name="confirm_password" type="password" placeholder="*****" autocomplete="new-password" aria-labelledby="confirm_password_label" required></div>
|
2019-03-11 08:47:45 +00:00
|
|
|
</div>
|
|
|
|
{{if .MFA}}
|
|
|
|
<div class="formrow mfa_token_row">
|
|
|
|
<div class="formitem formlabel"><a id="mfa_token_label">{{lang "password_reset_mfa_token"}}</a></div>
|
2020-03-23 05:31:17 +00:00
|
|
|
<div class="formitem"><input name="mfa_token" type="text" autocomplete="off" placeholder="*****" aria-labelledby="mfa_token_label" required></div>
|
2019-03-11 08:47:45 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
<div class="formrow login_button_row form_button_row">
|
|
|
|
<div class="formitem"><button name="token-button" class="formbutton">{{lang "password_reset_token_button"}}</button></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</main>
|
2019-10-11 00:36:08 +00:00
|
|
|
{{template "footer.html" . }}
|