Browse Source

Tweak wording in the "Register a backup key!" message

pull/761/head
Pēteris Caune 1 year ago
parent
commit
2f59995601
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
  1. 11
      templates/accounts/profile.html

11
templates/accounts/profile.html

@ -126,11 +126,12 @@
{% endif %}
</table>
{% if credentials|length == 1 %}
<p class="alert alert-info">
<strong>Tip: add a second security key!</strong>
It is a good practice to register at least two security keys
and store them separately.
{% if credentials|length == 1 and not profile.totp %}
<p class="alert alert-warning">
<strong>Register a backup key!</strong>
You currently have registered a single security key.
Consider registering a second security key, to be used
as a backup if you lose the primary key, or it stops working.
</p>
{% endif %}

Loading…
Cancel
Save