verify email workflow working

This commit is contained in:
Milo Schwartz 2024-10-04 23:14:40 -04:00
parent e176295593
commit 76eeb335a3
No known key found for this signature in database
23 changed files with 16363 additions and 15802 deletions

View file

@ -15,6 +15,7 @@ export const lucia = new Lucia(adapter, {
email: attributes.email,
twoFactorEnabled: attributes.twoFactorEnabled,
twoFactorSecret: attributes.twoFactorSecret,
emailVerified: attributes.emailVerified,
};
},
// getSessionAttributes: (attributes) => {
@ -49,6 +50,7 @@ interface DatabaseUserAttributes {
passwordHash: string;
twoFactorEnabled: boolean;
twoFactorSecret: string | null;
emailVerified: boolean;
}
interface DatabaseSessionAttributes {