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.
2 parents 97f761d + 0fe974e commit 700985eCopy full SHA for 700985e
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