core: cleanup templates, add template for backend authentication

This commit is contained in:
Jens Langhammer
2018-12-14 13:50:58 +01:00
parent 195aec7e33
commit c4cd602fcb
4 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,7 @@ class AuthenticationBackendFactor(FormView, AuthenticationFactor):
"""Authentication factor which authenticates against django's AuthBackend"""
form_class = AuthenticationBackendFactorForm
template_name = 'login/factors/backend.html'
def form_valid(self, form):
"""Authenticate against django's authentication backend"""