diff options
Diffstat (limited to 'templates/web/base/auth')
-rw-r--r-- | templates/web/base/auth/form_extra.html | 0 | ||||
-rw-r--r-- | templates/web/base/auth/generate_token.html | 13 |
2 files changed, 5 insertions, 8 deletions
diff --git a/templates/web/base/auth/form_extra.html b/templates/web/base/auth/form_extra.html new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/templates/web/base/auth/form_extra.html diff --git a/templates/web/base/auth/generate_token.html b/templates/web/base/auth/generate_token.html index 9152d0cb3..7654e11eb 100644 --- a/templates/web/base/auth/generate_token.html +++ b/templates/web/base/auth/generate_token.html @@ -9,7 +9,11 @@ INCLUDE 'header.html', title = loc('Security'), bodyclass = 'fullwidthpage' <p> <strong>[% loc('Token') %]:</strong> - <span>[% existing_token | html %]</span> + <span>[% token_generated %]</span> + </p> + + <p> + [% loc('This will be the only time this token is visible, so please make a note of it now.') %] </p> <p><a href="/my">[% loc('Your account') %]</a></p> @@ -67,13 +71,6 @@ INCLUDE 'header.html', title = loc('Security'), bodyclass = 'fullwidthpage' <input type="hidden" name="token" value="[% csrf_token %]"> - [% IF existing_token %] - <p> - <strong>[% loc('Current token:') %]</strong> - <span>[% existing_token | html %]</span> - </p> - [% END %] - <p> <input name="generate_token" type="submit" class="btn" value="[% existing_token ? loc('Replace token') : loc('Generate token') %]"> </p> |