mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
Enhancement: support disabling regular login (#5816)
This commit is contained in:
parent
90b4691f16
commit
1335ab5f1b
8 changed files with 115 additions and 57 deletions
|
|
@ -437,6 +437,8 @@ SOCIALACCOUNT_PROVIDERS = json.loads(
|
|||
os.getenv("PAPERLESS_SOCIALACCOUNT_PROVIDERS", "{}"),
|
||||
)
|
||||
|
||||
DISABLE_REGULAR_LOGIN = __get_boolean("PAPERLESS_DISABLE_REGULAR_LOGIN")
|
||||
|
||||
AUTO_LOGIN_USERNAME = os.getenv("PAPERLESS_AUTO_LOGIN_USERNAME")
|
||||
|
||||
if AUTO_LOGIN_USERNAME:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue