<%inherit file="base/root.mako"/>

<%def name="title()"> ${_('Verify 2FA')} %if c.rhodecode_name: · ${h.branding(c.rhodecode_name)} %endif
% if c.rhodecode_name:
${h.branding(c.rhodecode_name)}
% endif

# ${_('Verify the code from the app')}

${h.secure_form(h.route_path('check_2fa'), request=request, id='totp_form')} ${_('Verification code')}: ${h.text('totp', class_="form-control")} %if 'totp' in errors: ${errors.get('totp')}
%endif

${_('Enter the code from your two-factor authenticator app. If you\'ve lost your device, you can enter one of your recovery codes.')}

${h.submit('send', _('Verify'), class_="btn sign-in")}

RhodeCode ${c.rhodecode_edition}

${h.end_form()}