diff --git a/accounts/templates/accounts/otp_qr.html b/accounts/templates/accounts/otp_qr.html index 82697f70..2ce7af43 100644 --- a/accounts/templates/accounts/otp_qr.html +++ b/accounts/templates/accounts/otp_qr.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% load i18n %} +{% load i18n static %} {% block title %}{% trans "OTP QR Code" %}{% endblock %} @@ -8,8 +8,17 @@ {% block content %}
{% blocktrans %}Scan this QR code to get OTP for account '{{ user }}'{% endblocktrans %}
{{ qr_svg }} + {% else %} + +{% trans "Open the link from the mail to see the OTP QR code." %}
+ {% endif %}