mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-11 20:53:23 +02:00
Use twitter.id_str instead of twitter.id because project.id is returned string explicitly by the following change
d9112c4c05
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = function(passport, config) {
|
||||
},
|
||||
function(token, tokenSecret, profile, done) {
|
||||
User.findOne({
|
||||
'twitter.id': profile.id
|
||||
'twitter.id_str': profile.id
|
||||
}, function(err, user) {
|
||||
if (err) {
|
||||
return done(err);
|
||||
|
||||
Reference in New Issue
Block a user