generate 2fa backup codes

This commit is contained in:
Milo Schwartz 2024-10-05 15:31:28 -04:00
parent dca6924a5c
commit 3df14fb8f5
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;
}