mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 07:35:24 +00:00
feat: move totp and passkeys into plugins (C1)
This commit is contained in:
1 parent
f4f26a9b8b
commit
5c18435105
235 files changed
+22545
-5610
No files matched your search
@@ -87,7 +87,10 @@ export interface AuthResponse {
|
||||
}
|
||||
|
||||
export interface UserInfo {
|
||||
/** Any second factor, kept under its 2.8 name for older clients. */
|
||||
totp_enabled: boolean;
|
||||
/** Admin user list only. */
|
||||
second_factor_enabled?: boolean;
|
||||
userId: string;
|
||||
username: string;
|
||||
is_admin: boolean;
|
||||
@@ -1759,7 +1762,6 @@ export {
|
||||
updateOIDCConfig,
|
||||
disableOIDCConfig,
|
||||
adminResetUserPassword,
|
||||
adminDisableUserTotp,
|
||||
adminExportUserData,
|
||||
type ApiKey,
|
||||
type CreatedApiKey,
|
||||
@@ -1786,11 +1788,6 @@ export {
|
||||
} from "@/api/admin-user-data-api";
|
||||
|
||||
export {
|
||||
setupTOTP,
|
||||
enableTOTP,
|
||||
disableTOTP,
|
||||
verifyTOTPLogin,
|
||||
generateBackupCodes,
|
||||
getUserAlerts,
|
||||
dismissAlert,
|
||||
getReleasesRSS,
|
||||
|
||||
Reference in new issue
Block a user