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 ca366eb + 4e936e4 commit fedce3aCopy full SHA for fedce3a
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