We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97f761d commit 0fe974eCopy full SHA for 0fe974e
1 file changed
server/config/passport.js
@@ -177,7 +177,7 @@ passport.use(
177
// with emails that are connected to the same GitHub account
178
if (existingEmailUsers.length > 1) {
179
existingEmailUser = existingEmailUsers.find(
180
- (u) => (u.email = primaryEmail)
+ (u) => u.email === primaryEmail
181
);
182
} else {
183
[existingEmailUser] = existingEmailUsers;
0 commit comments