feat: implement admin user management and invite system

This commit is contained in:
shuaiplus authored and Shuai committed 2026-03-02 00:10:44 +08:00
1 parent f9b084d09d
commit 6e95d7a235
11 files changed
+1491 -105

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ export async function handleSync(request: Request, env: Env, userId: string): Pr
usesKeyConnector: false,
masterPasswordHint: null,
culture: 'en-US',
twoFactorEnabled: isTotpEnabled(env.TOTP_SECRET),
twoFactorEnabled: !!user.totpSecret || isTotpEnabled(env.TOTP_SECRET),
key: user.key,
privateKey: user.privateKey,
accountKeys: null,