diff --git a/lib/configuration/hooks/passport/index.js b/lib/configuration/hooks/passport/index.js deleted file mode 100644 index cb8fab5c6e..0000000000 --- a/lib/configuration/hooks/passport/index.js +++ /dev/null @@ -1,36 +0,0 @@ -'use strict'; - -/** - * Passport hook - */ - -module.exports = function (strapi) { - const hook = { - - /** - * Default options - */ - - defaults: { - passport: { - strategies: { - local: { - strategy: 'passport-local' - } - } - } - }, - - /** - * Initialize the hook - */ - - initialize: function (cb) { - strapi.app.use(strapi.middlewares.passport.initialize()); - - cb(); - } - }; - - return hook; -};