mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -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(),
|
HeaderTokenAuth(),
|
||||||
BearerTokenAuth(),
|
BearerTokenAuth(),
|
||||||
QueryParamTokenAuth(),
|
QueryParamTokenAuth(),
|
||||||
django_auth_superuser,
|
# django_auth_superuser, # django admin cookie auth, not secure to use with csrf=False
|
||||||
UsernameAndPasswordAuth(),
|
UsernameAndPasswordAuth(),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue