Skip to content
Snippets Groups Projects
Commit b419b990 authored by Chris Lawton's avatar Chris Lawton
Browse files

re-directing already logged in users to the dashboard

parent 52a7ed6f
No related branches found
No related tags found
No related merge requests found
...@@ -193,9 +193,9 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media') ...@@ -193,9 +193,9 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
AUTH_USER_MODEL = 'users.User' AUTH_USER_MODEL = 'users.User'
# TODO populate me with the dashboard URL when ready
LOGIN_URL = 'users:login' LOGIN_URL = 'users:login'
LOGIN_REDIRECT_URL = '/' LOGIN_REDIRECT_URL = 'dashboard:dashboard'
AUTHENTICATION_BACKENDS = ( AUTHENTICATION_BACKENDS = (
'social_core.backends.google.GoogleOAuth2', 'social_core.backends.google.GoogleOAuth2',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment