nodebb-plugin-sso-facebook 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library.js +2 -1
- package/package.json +1 -1
package/library.js
CHANGED
|
@@ -56,7 +56,7 @@ Facebook.getSettings = async function () {
|
|
|
56
56
|
Facebook.getStrategy = async function (strategies) {
|
|
57
57
|
if (!Facebook.settings) {
|
|
58
58
|
await Facebook.getSettings();
|
|
59
|
-
return Facebook.getStrategy(strategies);
|
|
59
|
+
return await Facebook.getStrategy(strategies);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
if (
|
|
@@ -128,6 +128,7 @@ Facebook.getStrategy = async function (strategies) {
|
|
|
128
128
|
scope: 'public_profile, email',
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
+
return strategies;
|
|
131
132
|
};
|
|
132
133
|
|
|
133
134
|
Facebook.appendUserHashWhitelist = function (data) {
|