generate 2fa backup codes

This commit is contained in:
Milo Schwartz
2024-10-05 15:31:28 -04:00
parent e7080c4aa8
commit 4a5e0e1c57
4 changed files with 40 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ interface DatabaseUserAttributes {
email: string;
passwordHash: string;
twoFactorEnabled: boolean;
twoFactorSecret: string | null;
twoFactorSecret?: string;
emailVerified: boolean;
}