Skip to content

Commit d93473f

Browse files
committed
fix: github username generation assignemnt
1 parent 989cdcf commit d93473f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/config/passport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ passport.use(
211211
const user = new User();
212212
user.email = primaryEmail;
213213
user.github = profile.id;
214-
user.username = profile.username;
214+
user.username = username;
215215
user.tokens.push({ kind: 'github', accessToken });
216216
user.name = profile.displayName;
217217
user.verified = User.EmailConfirmation().Verified;

0 commit comments

Comments
 (0)