diff options
Diffstat (limited to 'template/en/default/account/reset-password.html.tmpl')
-rw-r--r-- | template/en/default/account/reset-password.html.tmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/template/en/default/account/reset-password.html.tmpl b/template/en/default/account/reset-password.html.tmpl index ca60c5772..a2bec34fd 100644 --- a/template/en/default/account/reset-password.html.tmpl +++ b/template/en/default/account/reset-password.html.tmpl @@ -71,6 +71,20 @@ $(function() { <h1>Password Reset</h1> +[% BLOCK link %] + <a href="[% prev_url FILTER html %]">[% prev_url FILTER html %]</a> +[% END %] + +[% IF password_changed && prev_url_ok %] + <p>Continue to [% PROCESS link %]</p> + [% RETURN %] +[% ELSIF prev_url_ok %] + <p> + If you've already reset your password, you may continue to [% PROCESS link %] + </p> +[% END %] + + <p> [% user.password_change_reason || "You are required to update your password." FILTER html %] </p> @@ -82,6 +96,8 @@ $(function() { <form method="POST" action="reset_password.cgi"> <input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" name="do_save" value="1"> +<input type="hidden" name="prev_url" value="[% prev_url FILTER html %]"> +<input type="hidden" name="prev_url_sig" value="[% prev_url_sig FILTER html %]"> <div class="flex"> <div id="password-reset" class="flex-left"> |