mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-31 11:26:42 -05:00
fix: magic link should verify user email (#217)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user