mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 18:46:52 +01:00
Feature: two-factor authentication (#8012)
This commit is contained in:
parent
6c3d6d562d
commit
e94a92ed59
29 changed files with 1128 additions and 175 deletions
|
|
@ -316,6 +316,7 @@ INSTALLED_APPS = [
|
|||
"allauth",
|
||||
"allauth.account",
|
||||
"allauth.socialaccount",
|
||||
"allauth.mfa",
|
||||
*env_apps,
|
||||
]
|
||||
|
||||
|
|
@ -458,6 +459,8 @@ SOCIALACCOUNT_PROVIDERS = json.loads(
|
|||
os.getenv("PAPERLESS_SOCIALACCOUNT_PROVIDERS", "{}"),
|
||||
)
|
||||
|
||||
MFA_TOTP_ISSUER = "Paperless-ngx"
|
||||
|
||||
ACCOUNT_EMAIL_SUBJECT_PREFIX = "[Paperless-ngx] "
|
||||
|
||||
DISABLE_REGULAR_LOGIN = __get_boolean("PAPERLESS_DISABLE_REGULAR_LOGIN")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue