{% extends 'base.html' %} {% load otp_tags %} {% block content %} {% if is_verified %}
You have successfully enabled mfa on your account.
{% else %} {% if qr_code %}

Add GitHub to your two-factor authentication app

You will need to install a two-factor authentication application on your phone.

1. Scan barcode

{{qr_code|qrcode:"my alt"}}

After scanning the barcode image, the app will display a six-digit code that you can enter below.


{% csrf_token %}

Back to settings

{% else %}

Two-factor authentication adds an extra layer of security to your account. In addition to your username and password, you’ll need to enter a code that GitHub sends to you via text or an app on your phone.

When you sign into GitHub you’ll enter your username and password, like always.
When logging in from a new browser, you’ll need to enter an additional code from your phone or tablet.
Once you enter the code on the website, you’ll be logged into GitHub.

Use an application on your phone to get two-factor authentication codes when prompted.

{% csrf_token %}

GitHub will send you an SMS with a two-factor authentication code when prompted.

{% endif %} {% endif %} {% endblock %}