From 4ae94cb4d59831e0c6e19d20e36d7f6059c97d05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 26 Mar 2019 22:29:26 +0100 Subject: [PATCH] Give backup tokens some love. --- .../templates/allauth_2fa/backup_tokens.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/profiles/templates/allauth_2fa/backup_tokens.html b/src/profiles/templates/allauth_2fa/backup_tokens.html index 7086bf5e..2698f3f0 100644 --- a/src/profiles/templates/allauth_2fa/backup_tokens.html +++ b/src/profiles/templates/allauth_2fa/backup_tokens.html @@ -12,24 +12,34 @@

Two-Factor Authentication Backup Tokens

- {% if backup_tokens %} +
+

Attention!

+

+ Backup Tokens are important if you for some reason lose access to your two-factor authentication device (ie. misplace your phone).
+ If this happens you will not be able to login to BornHack.dk without using a backup token.
+ So generate some tokens and keep them safe for a rainy day ;) +

+
+ {% if backup_tokens %} {% else %}

No tokens. Press the button below to generate some.

{% endif %} +
+