mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
Update default page after login
- This fixes the redirect to the index page instead of apps:index post login
This commit is contained in:
parent
3b23f78bdc
commit
3e0f7a007e
@ -224,7 +224,7 @@ def configure_django():
|
|||||||
INSTALLED_APPS=applications,
|
INSTALLED_APPS=applications,
|
||||||
LOGGING=logging_configuration,
|
LOGGING=logging_configuration,
|
||||||
LOGIN_URL='users:login',
|
LOGIN_URL='users:login',
|
||||||
LOGIN_REDIRECT_URL='apps:index',
|
LOGIN_REDIRECT_URL='index',
|
||||||
MESSAGE_TAGS={message_constants.ERROR: 'danger'},
|
MESSAGE_TAGS={message_constants.ERROR: 'danger'},
|
||||||
MIDDLEWARE_CLASSES=(
|
MIDDLEWARE_CLASSES=(
|
||||||
'django.contrib.sessions.middleware.SessionMiddleware',
|
'django.contrib.sessions.middleware.SessionMiddleware',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user