mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 00:29:59 +01:00
feat(react/settings): port totp settings
This commit is contained in:
@@ -109,3 +109,19 @@ export interface DatabaseBackup {
|
||||
}
|
||||
|
||||
export type ChangePasswordResponse = Response;
|
||||
|
||||
export interface TOTPStatus {
|
||||
set: boolean;
|
||||
}
|
||||
|
||||
export interface TOTPGenerate {
|
||||
success: boolean;
|
||||
message: string;
|
||||
}
|
||||
|
||||
export interface TOTPRecoveryKeysResponse {
|
||||
success: boolean;
|
||||
recoveryCodes?: string[];
|
||||
keysExist?: boolean;
|
||||
usedRecoveryCodes?: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user