fix: magic link should verify user email (#217)

This commit is contained in:
Bereket Engida
2024-10-18 00:05:13 +03:00
committed by GitHub
parent 0daa9d5248
commit 1658508511

View File

@@ -129,6 +129,7 @@ export const magicLink = (options: MagicLinkOptions) => {
if (!options.disableSignUp) {
const newUser = await ctx.context.internalAdapter.createUser({
email: email,
emailVerified: true,
name: email,
});
userId = newUser.id;