diff --git a/umap/context_processors.py b/umap/context_processors.py index c6bdf6dc..f50e6212 100644 --- a/umap/context_processors.py +++ b/umap/context_processors.py @@ -6,7 +6,8 @@ from . import __version__ def settings(request): return { 'UMAP_FEEDBACK_LINK': djsettings.UMAP_FEEDBACK_LINK, - 'SITE_NAME': djsettings.SITE_NAME + 'SITE_NAME': djsettings.SITE_NAME, + 'ENABLE_ACCOUNT_LOGIN': djsettings.ENABLE_ACCOUNT_LOGIN, } @@ -15,7 +16,3 @@ def version(request): 'UMAP_VERSION': __version__ } -def authentication(request): - return { - 'ENABLE_ACCOUNT_LOGIN': settings.ENABLE_ACCOUNT_LOGIN - } diff --git a/umap/settings/base.py b/umap/settings/base.py index a72d9f45..b7faa0df 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -119,7 +119,6 @@ TEMPLATES = [ 'social.apps.django_app.context_processors.login_redirect', 'umap.context_processors.settings', 'umap.context_processors.version', - 'umap.context_processors.authentication', ) } },