From ad96863cd93df6fd46f9f5acf6ecc274515ca2b3 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 6 Jul 2017 23:11:05 -0400 Subject: [PATCH] Move the login template under the authentication namespace. Signed-off-by: Roberto Rosario --- .../templates/{appearance => authentication}/login.html | 0 mayan/apps/authentication/views.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename mayan/apps/appearance/templates/{appearance => authentication}/login.html (100%) diff --git a/mayan/apps/appearance/templates/appearance/login.html b/mayan/apps/appearance/templates/authentication/login.html similarity index 100% rename from mayan/apps/appearance/templates/appearance/login.html rename to mayan/apps/appearance/templates/authentication/login.html diff --git a/mayan/apps/authentication/views.py b/mayan/apps/authentication/views.py index 50d3b45f4f..fab1982506 100644 --- a/mayan/apps/authentication/views.py +++ b/mayan/apps/authentication/views.py @@ -22,7 +22,7 @@ def login_view(request): Control how the use is to be authenticated, options are 'email' and 'username' """ - kwargs = {'template_name': 'appearance/login.html'} + kwargs = {'template_name': 'authentication/login.html'} if setting_login_method.value == 'email': kwargs['authentication_form'] = EmailAuthenticationForm