core,oauth_provider: cleanup templates, add MFA error view

This commit is contained in:
Jens Langhammer
2018-12-14 15:18:02 +01:00
parent 6314ffab46
commit e81f525cea
6 changed files with 24 additions and 4 deletions

View File

@ -20,6 +20,7 @@ core_urls = [
path('auth/logout/', authentication.LogoutView.as_view(), name='auth-logout'),
path('auth/sign_up/', authentication.SignUpView.as_view(), name='auth-sign-up'),
path('auth/mfa/', mfa.MultiFactorAuthenticator.as_view(), name='mfa'),
path('auth/mfa/denied/', mfa.MFAPermissionDeniedView.as_view(), 'mfa-denied'),
# User views
path('user/', user.UserSettingsView.as_view(), name='user-settings'),
path('user/delete/', user.UserDeleteView.as_view(), name='user-delete'),