diff options
Diffstat (limited to 'template/en/default/mfa/totp')
-rw-r--r-- | template/en/default/mfa/totp/verify.html.tmpl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/template/en/default/mfa/totp/verify.html.tmpl b/template/en/default/mfa/totp/verify.html.tmpl index 3ff720d62..e61ee3866 100644 --- a/template/en/default/mfa/totp/verify.html.tmpl +++ b/template/en/default/mfa/totp/verify.html.tmpl @@ -13,17 +13,19 @@ <h1>Account Verification</h1> <p> + <b>[% reason FILTER html %]</b> requires verification.<br> Please enter your verification code from your TOTP application: </p> -<form method="POST" action="token.cgi"> -<input type="hidden" name="a" value="mfa"> -<input type="hidden" name="t" value="[% token FILTER html %]"> -<input type="text" name="code" id="code" - placeholder="123456" maxlength="6" pattern="\d{6}" size="10" - autocomplete="off" required autofocus><br> -<br> -<input type="submit" value="Submit"> +<form method="POST" action="[% postback.action FILTER none %]"> + [% FOREACH field IN postback.fields.keys %] + <input type="hidden" name="[% field FILTER html %]" value="[% postback.fields.item(field) FILTER html %]"> + [% END %] + <input type="text" name="code" id="code" + placeholder="123456" maxlength="6" pattern="\d{6}" size="10" + autocomplete="off" required autofocus><br> + <br> + <input type="submit" value="Submit"> </form> [% INCLUDE global/footer.html.tmpl %] |