mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
fixed #31 - twitter profile picture now used as nodebb avatar in lieu of
email address for gravatar
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
consumerSecret: global.config['social:twitter:secret'],
|
||||
callbackURL: nconf.get('url') + 'auth/twitter/callback'
|
||||
}, function(token, tokenSecret, profile, done) {
|
||||
login_module.loginViaTwitter(profile.id, profile.username, function(err, user) {
|
||||
login_module.loginViaTwitter(profile.id, profile.username, profile.photos, function(err, user) {
|
||||
if (err) { return done(err); }
|
||||
done(null, user);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user