这里截取一下原文提示:
Note Since version 1.5.0, the cookie-parser middleware no longer needs to be used for this module to work. This module now directly reads and writes cookies on req/res. Using cookie-parser may result in issues if the secret is not the same between this module and cookie-parser.
doracms 相应使用【express-session与cookie-parse】的secret是一致的,但是cookie-parser已经不再需要使用了。
express-session docs
这里截取一下原文提示: Note Since version 1.5.0, the cookie-parser middleware no longer needs to be used for this module to work. This module now directly reads and writes cookies on req/res. Using cookie-parser may result in issues if the secret is not the same between this module and cookie-parser. doracms 相应使用【express-session与cookie-parse】的secret是一致的,但是cookie-parser已经不再需要使用了。