1
0
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:
Nick Sweeting
2024-09-02 01:13:19 -07:00
parent da76a84c45
commit dd05ad04fa

View File

@@ -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(),
] ]