mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-23 23:02:17 +10:00
fix(auth): map oauth login to correct user id instead of account id (#3256)
This commit is contained in:
@@ -186,7 +186,7 @@ export function createProfileMapper<TProfile extends OAuthProfile>({
|
||||
await normalizeExistingUserEmail(existingUser.id, existingUser.email, existingEmail);
|
||||
|
||||
return {
|
||||
...(existingUser.accountId ? { id: existingUser.accountId } : {}),
|
||||
id: existingUser.id,
|
||||
name: existingUser.name,
|
||||
email: existingEmail,
|
||||
image: image ?? existingUser.image,
|
||||
|
||||
Reference in New Issue
Block a user