mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #6987 from nuvipannu/twitter-force-login
Handle force_login parameter in Twitter package.
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user