Skip to content

Commit fedce3a

Browse files
authored
Merge branch 'develop' into nityam/fix-accountform-labels
2 parents ca366eb + 4e936e4 commit fedce3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/config/passport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ passport.use(
223223
const user = new User();
224224
user.email = primaryEmail;
225225
user.github = profile.id;
226-
user.username = profile.username;
226+
user.username = username;
227227
user.tokens.push({ kind: 'github', accessToken });
228228
user.name = profile.displayName;
229229
user.verified = User.EmailConfirmation().Verified;

0 commit comments

Comments
 (0)