diff --git a/bookwyrm/templates/preferences/2fa.html b/bookwyrm/templates/preferences/2fa.html new file mode 100644 index 000000000..798716ac4 --- /dev/null +++ b/bookwyrm/templates/preferences/2fa.html @@ -0,0 +1,55 @@ +{% extends 'preferences/layout.html' %} +{% load i18n %} + +{% block title %}{% trans "Two Factor Authentication" %}{% endblock %} + +{% block header %} +{% trans "Two Factor Authentication" %} +{% endblock %} + +{% block panel %} +
Two Factor Authentication is active on your account.
+ {% trans "Disable 2FA" %} + {% elif password_confirmed %} + + {% else %} ++ {% trans "You can make your account more secure by using Two Factor Authentication (2FA). This will require you to enter a one-time code using a phone app like Authy, Google Authenticator or Microsoft Authenticator each time you log in." %} +
+{% trans "Confirm your password to begin setting up 2FA." %}
+ + {% endif %} ++ {% trans "Disabling 2FA will allow anyone with your username and password to log in to your account." %} +
+ + +