mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
disable cookie auth in API because csrf=False
This commit is contained in:
parent
da76a84c45
commit
dd05ad04fa
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue