fix: normalize email on linking

This commit is contained in:
Bereket Engida
2024-12-06 21:37:09 +03:00
parent b4d6672e95
commit 11edda4fae

View File

@@ -102,6 +102,7 @@ export async function handleOAuthUserInfo(
.createOAuthUser(
{
...userInfo,
email: userInfo.email.toLowerCase(),
id: undefined,
},
{