Merge pull request #151 from andypiper/master

fix for OAuth on older browsers (e.g. Epiphany on Pi)
This commit is contained in:
Nick O'Leary 2015-12-07 20:36:13 +00:00
commit 58107d5c8d
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ module.exports = function(RED) {
} else {
credentials.oauth_token = oauth_token;
credentials.oauth_token_secret = oauth_token_secret;
res.redirect('https://twitter.com/oauth/authorize?oauth_token='+oauth_token)
res.redirect('https://api.twitter.com/oauth/authorize?oauth_token='+oauth_token)
RED.nodes.addCredentials(req.params.id,credentials);
}
});