remove passport hook

This commit is contained in:
SylvainLap 2015-11-04 17:58:26 +01:00
parent 9359582a8d
commit b6e1d9deb3

View File

@ -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;
};