From 2e167f8572d79a646d4aa99ec4975df44e9d28cd Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Mon, 2 Apr 2018 12:55:42 +0430 Subject: [PATCH] fix(module): remove duplicate strategy options --- lib/module/index.js | 1 + 1 file changed, 1 insertion(+) 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) {