{% extends "base.html" %} {% block title %}{% trans %}Two-Factor Authentication{% endtrans %} – OnlineConvert{% endblock %} {% block content %}

{% trans %}Two-Factor Authentication{% endtrans %}

{% with messages = get_flashed_messages(with_categories=true) %}{% for cat, msg in messages %}{% endfor %}{% endwith %} {% if user.user_totp_enabled %}
{% trans %}2FA is Enabled{% endtrans %}
{% trans %}Your account is protected with two-factor authentication.{% endtrans %}
{% trans %}Active{% endtrans %}

{% trans %}To disable two-factor authentication, enter the current 6-digit code from your authenticator app to confirm.{% endtrans %}

{% else %}

{% trans %}Set Up Two-Factor Authentication{% endtrans %}

{% trans %}Use Google Authenticator, Authy, or any TOTP app.{% endtrans %}

{% if qr_data_url %}
QR Code
{% endif %}
{% trans %}Manual Setup Key{% endtrans %}
{{ user.user_totp_secret }}
  1. {% trans %}Open your authenticator app{% endtrans %}
  2. {% trans %}Scan the QR code or enter the key manually{% endtrans %}
  3. {% trans %}Enter the 6-digit code below to confirm{% endtrans %}
{% endif %}
{% endblock %}