Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Spliting Strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
amoshaviv committed Feb 12, 2014
1 parent 22d0e7a commit 880ad6a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ var UserSchema = new Schema({
type: String,
default: '',
trim: true,
unique: true
},
username: {
type: String,
Expand Down
2 changes: 1 addition & 1 deletion config/strategies/google.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = function() {
lastName: profile.name.familyName,
displayName: profile.displayName,
email: profile.emails[0].value,
username: profile.username,
username: profile.emails[0].value,
provider: 'google',
providerData: profile._json
});
Expand Down
2 changes: 1 addition & 1 deletion config/strategies/linkedin.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function() {
lastName: profile.name.familyName,
displayName: profile.displayName,
email: profile.emails[0].value,
username: profile.username,
username: profile.emails[0].value,
provider: 'linkedin',
providerData: profile._json
});
Expand Down

0 comments on commit 880ad6a

Please sign in to comment.