Change 2FA text

This commit is contained in:
George 2020-05-29 13:51:56 +01:00
parent d10a993e9d
commit a9460f120b
No known key found for this signature in database
GPG Key ID: F74C2ACA24BAF301
1 changed files with 4 additions and 5 deletions

View File

@ -12,8 +12,7 @@
<div class="card">
<div class="card-body">
<h1 class="h3">Two Factor Authentication</h1>
<p>Please open a TOTP application (Google Authenticator, Authy, MyDigiPassword, etc)
on your smartphone and scan the following QR Code:
<p>You will need to use a 2FA application like Google Authenticator or Authy on your phone or PC and scan the following QR Code:
</p>
<canvas id="qr"></canvas>
@ -28,7 +27,7 @@
</script>
<div class="mt-3 mb-2">
Or you can use the manual entry with the following key:
Or you can manually enter the following secret key:
</div>
<input class="form-control" disabled value="{{ current_user.otp_secret }}">
@ -38,11 +37,11 @@
{{ otp_token_form.csrf_token }}
<div class="font-weight-bold mt-5">Token</div>
<div class="small-text">Please enter the 6-digit number displayed on your phone.</div>
<div class="small-text">Please enter the 6-digit number displayed in your authenticator app.</div>
{{ otp_token_form.token(class="form-control", placeholder="") }}
{{ render_field_errors(otp_token_form.token) }}
<button class="btn btn-lg btn-success mt-2">Validate</button>
<button class="btn btn-lg btn-success mt-2">Submit</button>
</form>
</div>