2
여권 직렬화 직렬화 해제 이해
Passport의 serialize 및 deserialize 방법의 워크 플로를 일반인에게 어떻게 설명 하시겠습니까? 어디로 user.id가야 passport.serializeUser합니까? 우리는 호출 passport.deserializeUser이 곳은 워크 플로우에 맞지 않는 후 괜찮아? // used to serialize the user for the session passport.serializeUser(function(user, done) { done(null, user.id); // where is this user.id going? Are we supposed to access this …