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.
1 parent 7641000 commit 82a899cCopy full SHA for 82a899c
api/strategies/googleStrategy.js
@@ -28,7 +28,7 @@ const googleLogin = new GoogleStrategy(
28
const newUser = await new User({
29
provider: 'google',
30
googleId: profile.id,
31
- username: profile.name.givenName + profile.name.familyName,
+ username: profile.name.givenName,
32
email: profile.emails[0].value,
33
emailVerified: profile.emails[0].verified,
34
name: `${profile.name.givenName} ${profile.name.familyName}`,
0 commit comments