This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(users): Duplicate Provider Accounts (#1767)
Fixes an issue where a provider account could be added to the logged in user's additionalProviderData, when another user has already connected that same account. Refactors the saveOAuthUserProfile method to consider the results of the provider search query, whether or not the current user is logged in.
- Loading branch information
Showing
1 changed file
with
62 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters