mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 05:31:30 +02:00
Display MFA setup to user who doesn't have MFA enabled
This commit is contained in:
parent
1d4e8368ab
commit
fa66a71880
@ -48,8 +48,17 @@
|
|||||||
<button class="btn btn-primary">Update</button>
|
<button class="btn btn-primary">Update</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
{% if not current_user.enable_otp %}
|
||||||
<hr>
|
<hr>
|
||||||
|
<h3 class="mb-0">Multi-Factor Authentication</h3>
|
||||||
|
<div class="small-text mb-3">
|
||||||
|
Secure your account with Multi-Factor Authentication.
|
||||||
|
This requires having applications like Google Authenticator, Authy, FreeOTP, etc.
|
||||||
|
</div>
|
||||||
|
<a href="{{ url_for('dashboard.mfa_setup') }}" class="btn btn-outline-primary">Enable</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<hr>
|
||||||
<h3 class="mb-0">Change password</h3>
|
<h3 class="mb-0">Change password</h3>
|
||||||
<div class="small-text mb-3">You will receive an email containing instructions on how to change password.</div>
|
<div class="small-text mb-3">You will receive an email containing instructions on how to change password.</div>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
|
Loading…
Reference in New Issue
Block a user