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 83b11a4 + 982c3d3 commit 4e936e4Copy full SHA for 4e936e4
server/config/passport.js
@@ -223,7 +223,7 @@ passport.use(
223
const user = new User();
224
user.email = primaryEmail;
225
user.github = profile.id;
226
- user.username = profile.username;
+ user.username = username;
227
user.tokens.push({ kind: 'github', accessToken });
228
user.name = profile.displayName;
229
user.verified = User.EmailConfirmation().Verified;
0 commit comments