1
0
mirror of https://github.com/Foltik/Shimapan synced 2025-01-06 00:08:25 -05:00
shimapan/config/passport.js
2018-01-15 17:13:35 -05: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());