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