From b419b990d5601a4dae8b5422396b66dacdda4670 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Wed, 31 Jan 2018 11:05:36 +0000 Subject: [PATCH] re-directing already logged in users to the dashboard --- opentech/settings/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opentech/settings/base.py b/opentech/settings/base.py index ec43f6d41..12b2c6ba2 100644 --- a/opentech/settings/base.py +++ b/opentech/settings/base.py @@ -193,9 +193,9 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_URL = '/media/' AUTH_USER_MODEL = 'users.User' -# TODO populate me with the dashboard URL when ready + LOGIN_URL = 'users:login' -LOGIN_REDIRECT_URL = '/' +LOGIN_REDIRECT_URL = 'dashboard:dashboard' AUTHENTICATION_BACKENDS = ( 'social_core.backends.google.GoogleOAuth2', -- GitLab