1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-28 05:26:44 -05:00
shimapan/config/passport.js

8 lines
216 B
JavaScript
Raw Normal View History

2017-10-11 10:15:19 -04:00
var passport = require('passport');
var User = require('../app/models/User.js');
2017-10-18 13:31:08 -04:00
passport.use(User.createStrategy());
passport.serializeUser(User.serializeUser());
passport.deserializeUser(User.deserializeUser());
2017-10-11 10:15:19 -04:00