mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Added a custom csrf failure view
This commit is contained in:
@@ -201,6 +201,7 @@ django.conf.locale.LANG_INFO.update(EXTRA_LANG_INFO)
|
||||
AUTH_USER_MODEL = 'pretixbase.User'
|
||||
LOGIN_URL = '/login' # global login does not yet exist
|
||||
LOGIN_URL_CONTROL = 'control:auth.login'
|
||||
CSRF_FAILURE_VIEW = 'pretix.base.views.errors.csrf_failure'
|
||||
|
||||
template_loaders = (
|
||||
'django.template.loaders.filesystem.Loader',
|
||||
|
||||
Reference in New Issue
Block a user