Reword 2FA page.
This commit is contained in:
parent
972f651eca
commit
d9e29cc989
|
@ -11,8 +11,8 @@
|
||||||
<div class="card-body p-6">
|
<div class="card-body p-6">
|
||||||
|
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
Your account is protected with multi-factor authentication (MFA). <br><br>
|
Your account is protected with Two Factor Authentication. <br><br>
|
||||||
To continue with the sign-in you need to provide the access code from your authenticator.
|
You will need to enter your 2FA authentication code.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
@ -20,9 +20,7 @@
|
||||||
<input type="hidden" name="form-name" value="create">
|
<input type="hidden" name="form-name" value="create">
|
||||||
|
|
||||||
<div class="font-weight-bold mt-5">Token</div>
|
<div class="font-weight-bold mt-5">Token</div>
|
||||||
<div class="small-text mb-3">Please enter the 6-digit number displayed in your MFA application
|
<div class="small-text mb-3">Please enter the 2FA code from your 2FA application</div>
|
||||||
(Google Authenticator, Authy, MyDigiPassword, etc) here
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ otp_token_form.token(class="form-control", autofocus="true") }}
|
{{ otp_token_form.token(class="form-control", autofocus="true") }}
|
||||||
{{ render_field_errors(otp_token_form.token) }}
|
{{ render_field_errors(otp_token_form.token) }}
|
||||||
|
@ -32,7 +30,7 @@
|
||||||
{{ otp_token_form.remember.description }}
|
{{ otp_token_form.remember.description }}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-success mt-2">Validate</button>
|
<button class="btn btn-success mt-2">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{% if enable_fido %}
|
{% if enable_fido %}
|
||||||
|
@ -45,12 +43,12 @@
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
<div class="mt-5">
|
<div class="mt-5">
|
||||||
If you have troubles with your authentication app, you can use the recovery code to login. <br>
|
If you cannot access your authenticator application you can instead use a recovery code. <br>
|
||||||
<a href="{{ url_for('auth.recovery_route', next=next_url) }}">Use Recovery Codes</a>
|
<a href="{{ url_for('auth.recovery_route', next=next_url) }}">Use Recovery Code</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue