mirror of
https://github.com/Foltik/Shimapan
synced 2024-11-15 01:06:32 -05:00
8 lines
216 B
JavaScript
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());
|
|
|