Skip to content
Snippets Groups Projects
Verified Commit b099b9df authored by f00wl's avatar f00wl
Browse files

Lowercased MFA history name

parent ed53ba41
No related branches found
No related tags found
1 merge request!31Resolve "Support du 2FA TOTP"
...@@ -322,7 +322,7 @@ class History(db.Model): ...@@ -322,7 +322,7 @@ class History(db.Model):
STATUS = "status" STATUS = "status"
TRANSITION = "transition" TRANSITION = "transition"
PASSWORD = "password" PASSWORD = "password"
MFA = "2FA" MFA = "2fa"
DESCRIPTION = { DESCRIPTION = {
SIGNUP: _("signed up for this account"), SIGNUP: _("signed up for this account"),
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</div> </div>
{% endif %} {% endif %}
<div> <div>
<i class="fas fa-{{ {"signup": "address-card", "create": "plus", "transition": "recycle", "password": "lock", "2FA": "qrcode"}[event.category] }} bg-blue"></i> <i class="fas fa-{{ {"signup": "address-card", "create": "plus", "transition": "recycle", "password": "lock", "2fa": "qrcode"}[event.category] }} bg-blue"></i>
<div class="timeline-item"> <div class="timeline-item">
<span class="time"><i class="fas fa-clock"></i> {{ event.created_at.time().strftime("%H:%M") }}</span> <span class="time"><i class="fas fa-clock"></i> {{ event.created_at.time().strftime("%H:%M") }}</span>
<h3 class="timeline-header"> <h3 class="timeline-header">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment