2FA: Login using a TOTP token

This commit is contained in:
Raphael Michel
2016-10-08 14:57:54 +02:00
parent 5796402a2e
commit 68a9f98f23
5 changed files with 76 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ from pretix.control.views import (
urlpatterns = [
url(r'^logout$', auth.logout, name='auth.logout'),
url(r'^login$', auth.login, name='auth.login'),
url(r'^login/2fa$', auth.Login2FAView.as_view(), name='auth.login.2fa'),
url(r'^register$', auth.register, name='auth.register'),
url(r'^forgot$', auth.Forgot.as_view(), name='auth.forgot'),
url(r'^forgot/recover$', auth.Recover.as_view(), name='auth.forgot.recover'),