mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-16 21:10:26 +08:00
🐛 (auth) Fix magic link callback url pointing to internal url
Closes #403
This commit is contained in:
parent
cbeb275164
commit
2946f3ee3b
@ -12,6 +12,7 @@ export const sendVerificationRequest = async ({ identifier, token }: Props) => {
|
||||
}/api/auth/callback/email?${new URLSearchParams({
|
||||
email: identifier,
|
||||
token,
|
||||
callbackUrl: `${process.env.NEXTAUTH_URL}/signin`,
|
||||
}).toString()}`
|
||||
await sendMagicLinkEmail({ url, to: identifier })
|
||||
} catch (err) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user