{% extends "base.html" %} {% load static %} {% block title %} Set up Two-Factor Authentication {% endblock title %} {% block content %}
{% if app.app_logo %}
{{ app.app_name }} Logo
{% endif %} {% if not success and state == "INITIALIZED" %}

Setup 2FA

Start by scanning the QR code with your mobile device or copy your unique code.

{% elif success and state == "ENABLED" %}
2FA is Enabled!

Your account is now more secure. {% if redirect %}Please wait while we redirect you.{% endif %}

{% if redirect %} {% endif %} {% else %}

Setup 2FA

2FA adds an extra layer of security to your account. Let's get started.

{% csrf_token %}
{% endif %}
{% if success and redirect %} {% endif %} {% endblock content %}