mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Adds truthness check b4 accessing property in facebook package. Fixes #7255
This commit is contained in:
@@ -37,7 +37,7 @@ Facebook.requestCredential = function (options, credentialRequestCompleteCallbac
|
||||
'&state=' + OAuth._stateParam(loginStyle, credentialToken, options && options.redirectUrl);
|
||||
|
||||
// Handle authentication type (e.g. for force login you need authType: "reauthenticate")
|
||||
if (options.authType) {
|
||||
if (options && options.authType) {
|
||||
loginUrl += "&authType=" + encodeURIComponent(options.authType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user