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