diff --git a/lib/module/index.js b/lib/module/index.js index 3375d8ba5..05d22b666 100644 --- a/lib/module/index.js +++ b/lib/module/index.js @@ -17,6 +17,7 @@ module.exports = function (moduleOptions) { // Process and normalize strategies const { strategies, schemes } = processStrategies.call(this, options) + delete options.strategies // Set defaultStrategy if (!options.defaultStrategy) {