Use only one key/user for backup codes, better UX, handle recovery mode deactivation

This commit is contained in:
Spitap
2022-08-20 20:07:36 +02:00
parent 3ac893ad50
commit 98e9df8a23
5 changed files with 67 additions and 48 deletions

View File

@@ -15,7 +15,7 @@
{% for method in request.session.mfa_methods %}
<li><a href="{% url "mfa_goto" method %}">
{% if method == "TOTP" %}Authenticator App
{% if method == "TOTP" %}Authenticator App / Backup codes
{% elif method == "Email" %}Send OTP by Email
{% elif method == "U2F" %}Secure Key
{% elif method == "FIDO2" %}FIDO2 Secure Key