[% INCLUDE 'header.html', title = loc('Security'), bodyclass = 'fullwidthpage' %] [% IF token_generated %]
[% loc('Token') %]: [% existing_token | html %]
[% loc('Your account') %]
[% loc('Thanks, you have successfully enabled two-factor authentication on your account.') %]
[% IF c.user.is_superuser || c.user.from_body %] [% IF has_2fa %] [% IF !c.cobrand.call_hook('must_have_2fa', c.user) %] [% END %] [% ELSE %] [% END %] [% END %]
[% loc('Current token:') %] [% existing_token | html %]
[% loc('If you generate a new token the existing token will no longer work.') %]