From 5796402a2e969e0ef882180940fa801850c5e880 Mon Sep 17 00:00:00 2001
From: Raphael Michel {% trans "Disable two-factor authentication" %}
+
+{% endblock %}
diff --git a/src/pretix/control/templates/pretixcontrol/user/2fa_enable.html b/src/pretix/control/templates/pretixcontrol/user/2fa_enable.html
new file mode 100644
index 0000000000..32a65aa770
--- /dev/null
+++ b/src/pretix/control/templates/pretixcontrol/user/2fa_enable.html
@@ -0,0 +1,25 @@
+{% extends "pretixcontrol/base.html" %}
+{% load i18n %}
+{% load bootstrap3 %}
+{% block title %}{% trans "Enable two-factor authentication" %}{% endblock %}
+{% block content %}
+ {% trans "Enable two-factor authentication" %}
+
+{% endblock %}
diff --git a/src/pretix/control/templates/pretixcontrol/user/2fa_main.html b/src/pretix/control/templates/pretixcontrol/user/2fa_main.html
index bbb0051a5e..cbb73dfae4 100644
--- a/src/pretix/control/templates/pretixcontrol/user/2fa_main.html
+++ b/src/pretix/control/templates/pretixcontrol/user/2fa_main.html
@@ -12,12 +12,14 @@
{% endblocktrans %}
{% trans "Two-factor authentication is currently enabled." %}
@@ -30,7 +32,9 @@
{% trans "Two-factor authentication is currently disabled." %}
diff --git a/src/pretix/control/urls.py b/src/pretix/control/urls.py
index 41c2d4b849..315c5fdb47 100644
--- a/src/pretix/control/urls.py
+++ b/src/pretix/control/urls.py
@@ -15,6 +15,8 @@ urlpatterns = [
url(r'^settings$', user.UserSettings.as_view(), name='user.settings'),
url(r'^settings/2fa/$', user.User2FAMainView.as_view(), name='user.settings.2fa'),
url(r'^settings/2fa/add$', user.User2FADeviceAddView.as_view(), name='user.settings.2fa.add'),
+ url(r'^settings/2fa/enable', user.User2FAEnableView.as_view(), name='user.settings.2fa.enable'),
+ url(r'^settings/2fa/disable', user.User2FADisableView.as_view(), name='user.settings.2fa.disable'),
url(r'^settings/2fa/totp/(?P