mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
API: Fix CSRF support for session-based usage
This commit is contained in:
@@ -398,7 +398,7 @@ REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'pretix.api.auth.token.TeamTokenAuthentication',
|
||||
'pretix.api.auth.device.DeviceTokenAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
'pretix.api.auth.session.SessionAuthentication',
|
||||
'oauth2_provider.contrib.rest_framework.OAuth2Authentication',
|
||||
),
|
||||
'DEFAULT_RENDERER_CLASSES': (
|
||||
|
||||
Reference in New Issue
Block a user