session not create after login using passport .js
问题 i use console.log(user.id) in serialize it show user id when i login but in browser when i go in application, session storage is empty. it not show any key and value Passport.js const LocalStrategy = require('passport-local').Strategy const mongoose = require('mongoose') const bcrypt = require('bcrypt') const User = require('../models/User') module.exports = function(passport) { passport.use("local", new LocalStrategy({usernameField:"email"}, (email, password, done)=>{ User.findOne({email