forked from CGM_Public/pretix_original
Do not use absolute URL for login redirection
This commit is contained in:
@@ -121,8 +121,8 @@ LANGUAGES = (
|
|||||||
# Authentication
|
# Authentication
|
||||||
|
|
||||||
AUTH_USER_MODEL = 'pretixbase.User'
|
AUTH_USER_MODEL = 'pretixbase.User'
|
||||||
LOGIN_URL = '/login'
|
LOGIN_URL = '/login' # global login does not yet exist
|
||||||
LOGIN_URL_CONTROL = '/control/login'
|
LOGIN_URL_CONTROL = 'control:auth.login'
|
||||||
|
|
||||||
# Static files (CSS, JavaScript, Images)
|
# Static files (CSS, JavaScript, Images)
|
||||||
# https://docs.djangoproject.com/en/dev/howto/static-files/
|
# https://docs.djangoproject.com/en/dev/howto/static-files/
|
||||||
|
|||||||
Reference in New Issue
Block a user