{% extends "base.html" %} {% load i18n %} {% 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 rpconfig and rpconfig.displayname %} {{ rpconfig.displayname }} {% 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 next %}{% endif %} {% if token %}{% trans "or" %} {% include "common/cancel_link.html" %}{% endif %}
{% include "registration/two_factor_information.html" %}
{% endblock %} {% block extra_js %} {% endblock %}