fix: format recovery code display in profile template

This commit is contained in:
Théophile Diot 2024-12-03 12:17:00 +01:00
parent 2fdbff85a9
commit efde5fa049
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -609,7 +609,9 @@
<div class="row g-3">
{% for code in totp_recovery_codes %}
<div class="col-6">
<div class="p-3 border rounded bg-{% if theme == 'light' %}light{% else %}dark{% endif %} shadow-sm text-center recovery-code">{{ code }}</div>
<div class="p-3 border rounded bg-{% if theme == 'light' %}light{% else %}dark{% endif %} shadow-sm text-center recovery-code">
{{ code }}
</div>
</div>
{% endfor %}
</div>