1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-27 21:19:09 -05:00
shimapan/config/passport.js
2017-10-18 13:31:08 -04:00

8 lines
216 B
JavaScript

var passport = require('passport');
var User = require('../app/models/User.js');
passport.use(User.createStrategy());
passport.serializeUser(User.serializeUser());
passport.deserializeUser(User.deserializeUser());