feat: move totp and passkeys into plugins (C1)

This commit is contained in:
LukeGus committed 2026-09-24 16:57:24 -05:00
1 parent f4f26a9b8b
commit 5c18435105
235 files changed
+22545 -5610

No files matched your search

+3 -6
View File
@@ -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,