{% extends "base.html" %} {% load i18n %} {% block html_extra %}data-qa-id="two_factor_verify"{% endblock %} {% block extra_css %} {% if rpconfig and rpconfig.logo_url %} {% endif %} {% endblock %} {% block text_title %}

{% trans "One account to log in to everything on Ubuntu" %}

{% endblock %} {% block bodyclass %}{% endblock %} {% block menu %}{% endblock %} {% block content %}

{% if token %}{% url 'cancel' token as cancel_url %} {% else %}{% url 'account-index' as cancel_url %}{% endif %} {% if rpconfig and rpconfig.displayname %} {{ rpconfig.displayname }} {% else %} {{ brand_description }} {% endif %} {% trans "2-factor authentication" %}

{% csrf_token %}

{{ form.oath_token }} {% if form.oath_token.errors %} {{ form.oath_token.errors|join:"" }} {% endif %} {% if form.non_field_errors %} {{ form.non_field_errors|join:"" }} {% endif %}

{% if form.non_field_errors %}

{% include "common/sync_2fa_link.html" %}

{% endif %}
{% if next %}{% endif %}
{% include "registration/two_factor_information.html" %}
{% endblock %} {% block extra_js %} {% endblock %}