text: const passport = require('passport');
  
  module.exports = app => {
      app.use(passport.initialize());
      app.use(passport.session());
  
      passport.serializeUser((user, done) => {
          done(null, user);
      });
  
      passport.deserializeUser((user, done) => {
          done(null, user);
      });
  
      require('./passport.local')();
  };