Added logging

This commit is contained in:
Simon Tokumine 2011-08-22 13:52:11 +01:00
parent ce4413cbda
commit 1d5444fa20

View File

@ -105,6 +105,7 @@ var oAuth = function(){
},
function checkSignature(err, data){
if (err) throw err;
console.log(data + " should equal the provided signature: " + signature);
callback(err, (signature === data && !_.isUndefined(data)) ? ohash.user_id : null);
}
);