mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 18:46:52 +01:00
Fix: disable API basic auth if MFA enabled (#8792)
This commit is contained in:
parent
29726c3ce1
commit
5e3ee3a80d
3 changed files with 40 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ if DEBUG:
|
|||
|
||||
REST_FRAMEWORK = {
|
||||
"DEFAULT_AUTHENTICATION_CLASSES": [
|
||||
"rest_framework.authentication.BasicAuthentication",
|
||||
"paperless.auth.PaperlessBasicAuthentication",
|
||||
"rest_framework.authentication.TokenAuthentication",
|
||||
"rest_framework.authentication.SessionAuthentication",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue