mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 22:25:24 +02:00
disable cookie auth in API because csrf=False
This commit is contained in:
@@ -105,6 +105,6 @@ API_AUTH_METHODS = [
|
||||
HeaderTokenAuth(),
|
||||
BearerTokenAuth(),
|
||||
QueryParamTokenAuth(),
|
||||
django_auth_superuser,
|
||||
# django_auth_superuser, # django admin cookie auth, not secure to use with csrf=False
|
||||
UsernameAndPasswordAuth(),
|
||||
]
|
||||
|
Reference in New Issue
Block a user