Move the login template under the authentication namespace.
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@ def login_view(request):
|
|||||||
Control how the use is to be authenticated, options are 'email' and
|
Control how the use is to be authenticated, options are 'email' and
|
||||||
'username'
|
'username'
|
||||||
"""
|
"""
|
||||||
kwargs = {'template_name': 'appearance/login.html'}
|
kwargs = {'template_name': 'authentication/login.html'}
|
||||||
|
|
||||||
if setting_login_method.value == 'email':
|
if setting_login_method.value == 'email':
|
||||||
kwargs['authentication_form'] = EmailAuthenticationForm
|
kwargs['authentication_form'] = EmailAuthenticationForm
|
||||||
|
|||||||
Reference in New Issue
Block a user