{% extends "layouts/app.html" %} {% block content %}

Two-Factor Authentication

{% if enabled %} Two-factor authentication is enabled on your account. {% else %} Two-factor authentication is disabled. {% endif %}

{% if session_has("success") %}

{{ session_get("success") }}

{% endif %} {% if session_has("error") %}

{{ session_get("error") }}

{% endif %} {% if enabled %} {% if recovery_codes %}

Recovery Codes

Store these codes safely. Each can only be used once if you lose your device.

    {% for code in recovery_codes %}
  • {{ code }}
  • {% endfor %}
{{ csrf_field() | raw }}
{% endif %}

Disable Two-Factor Authentication

This will remove the extra layer of security from your account.

{{ csrf_field() | raw }}
{% else %}

Enable Two-Factor Authentication

Use an authenticator app like Google Authenticator or Authy to generate time-based codes.

{% endif %}
{% endblock %}