Merge pull request #6987 from nuvipannu/twitter-force-login

Handle force_login parameter in Twitter package.
This commit is contained in:
Ben Newman
2016-05-11 15:48:15 -04:00

View File

@@ -38,6 +38,11 @@ Twitter.requestCredential = function (options, credentialRequestCompleteCallback
}
}
// Handle force login (request the user to enter their credentials)
if (options.force_login) {
loginPath += "&force_login=true";
}
var loginUrl = Meteor.absoluteUrl(loginPath);
OAuth.launchLogin({