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

View file

@ -12,8 +12,7 @@
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<h1 class="h3">Two Factor Authentication</h1> <h1 class="h3">Two Factor Authentication</h1>
<p>Please open a TOTP application (Google Authenticator, Authy, MyDigiPassword, etc) <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:
on your smartphone and scan the following QR Code:
</p> </p>
<canvas id="qr"></canvas> <canvas id="qr"></canvas>
@ -28,7 +27,7 @@
</script> </script>
<div class="mt-3 mb-2"> <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> </div>
<input class="form-control" disabled value="{{ current_user.otp_secret }}"> <input class="form-control" disabled value="{{ current_user.otp_secret }}">
@ -38,11 +37,11 @@
{{ otp_token_form.csrf_token }} {{ otp_token_form.csrf_token }}
<div class="font-weight-bold mt-5">Token</div> <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="") }} {{ otp_token_form.token(class="form-control", placeholder="") }}
{{ render_field_errors(otp_token_form.token) }} {{ 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> </form>
</div> </div>