mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 11:36:39 +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
|
|
@ -8,6 +8,7 @@ from pathlib import Path
|
|||
from typing import TYPE_CHECKING
|
||||
|
||||
import tqdm
|
||||
from allauth.mfa.models import Authenticator
|
||||
from allauth.socialaccount.models import SocialAccount
|
||||
from allauth.socialaccount.models import SocialApp
|
||||
from allauth.socialaccount.models import SocialToken
|
||||
|
|
@ -270,6 +271,7 @@ class Command(CryptMixin, BaseCommand):
|
|||
"social_accounts": SocialAccount.objects.all(),
|
||||
"social_apps": SocialApp.objects.all(),
|
||||
"social_tokens": SocialToken.objects.all(),
|
||||
"authenticators": Authenticator.objects.all(),
|
||||
}
|
||||
|
||||
if settings.AUDIT_LOG_ENABLED:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue