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
No related merge requests found
......@@ -322,7 +322,7 @@ class History(db.Model):
STATUS = "status"
TRANSITION = "transition"
PASSWORD = "password"
MFA = "2FA"
MFA = "2fa"
DESCRIPTION = {
SIGNUP: _("signed up for this account"),
......
......@@ -12,7 +12,7 @@
</div>
{% endif %}
<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">
<span class="time"><i class="fas fa-clock"></i> {{ event.created_at.time().strftime("%H:%M") }}</span>
<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