mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 10:36:58 +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
|
|
@ -17,4 +17,11 @@ export interface PaperlessUserProfile {
|
|||
auth_token?: string
|
||||
social_accounts?: SocialAccount[]
|
||||
has_usable_password?: boolean
|
||||
is_mfa_enabled?: boolean
|
||||
}
|
||||
|
||||
export interface TotpSettings {
|
||||
url: string
|
||||
qr_svg: string
|
||||
secret: string
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,4 +11,5 @@ export interface User extends ObjectWithId {
|
|||
groups?: number[] // Group[]
|
||||
user_permissions?: string[]
|
||||
inherited_permissions?: string[]
|
||||
is_mfa_enabled?: boolean
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue