[% INCLUDE 'header.html', title = loc('Two-factor authentication'), bodyclass = 'fullwidthpage' %]

[% loc('Two-factor authentication') %]

[% IF stage == 'success' %]

[% loc('Thanks, you have successfully enabled two-factor authentication on your account.') %]

[% loc('Your account') %]

[% ELSIF stage == 'activate' %] [% PROCESS 'auth/2fa/form-add.html' %] [% ELSE # stage is intro %]

[% loc('Your account requires two-factor authentication to be set up.') %]

[% END %]
[% INCLUDE 'footer.html' %]