mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Encode the authType parameter.
This commit is contained in:
@@ -35,12 +35,12 @@ Facebook.requestCredential = function (options, credentialRequestCompleteCallbac
|
||||
'&redirect_uri=' + OAuth._redirectUri('facebook', config) +
|
||||
'&display=' + display + '&scope=' + scope +
|
||||
'&state=' + OAuth._stateParam(loginStyle, credentialToken, options && options.redirectUrl);
|
||||
|
||||
|
||||
// Handle authentication type (e.g. for force login you need authType: "reauthenticate")
|
||||
if (options.authType) {
|
||||
loginUrl = loginUrl + "&authType=" + options.authType;
|
||||
loginUrl += "&authType=" + encodeURIComponent(options.authType);
|
||||
}
|
||||
|
||||
|
||||
OAuth.launchLogin({
|
||||
loginService: "facebook",
|
||||
loginStyle: loginStyle,
|
||||
|
||||
Reference in New Issue
Block a user