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 -3
View File
@@ -306,7 +306,7 @@ export function AdminSettingsPanel({
isOidc: user.is_oidc,
passwordHash: user.password_hash,
dataUnlocked: user.data_unlocked,
totpEnabled: user.totp_enabled,
secondFactorEnabled: user.second_factor_enabled,
})),
);
setUserTotal(total ?? u.length);
@@ -989,10 +989,10 @@ export function AdminSettingsPanel({
setUsers((prev) => prev.filter((u) => u.id !== manageUser.id));
setManageUser(null);
}}
onTotpDisabled={() => {
onSecondFactorsReset={() => {
setUsers((prev) =>
prev.map((u) =>
u.id === manageUser.id ? { ...u, totpEnabled: false } : u,
u.id === manageUser.id ? { ...u, secondFactorEnabled: false } : u,
),
);
}}