Skip to content

Commit 7b988b8

Browse files
authored
hotfix: email address should be case insensitive (#1923)
1 parent bc3c008 commit 7b988b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/email.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function Email () {
2222
const params = new URLSearchParams()
2323
if (callback.callbackUrl) params.set('callbackUrl', callback.callbackUrl)
2424
params.set('token', token)
25-
params.set('email', callback.email)
25+
params.set('email', callback.email.toLowerCase())
2626
const url = `/api/auth/callback/email?${params.toString()}`
2727
router.push(url)
2828
}, [callback, router])

0 commit comments

Comments
 (0)