{% extends 'users/_base_otp.html' %} {% load static %} {% load i18n %} {% block content %}

使用手机 Google Authenticator 应用扫描以下二维码,获取6位验证码

{% csrf_token %}
{% if 'otp_code' in form.errors %}

{{ form.otp_code.errors.as_text }}

{% endif %}
{% endblock %}