doramart / DoraCMS

DoraCMS是基于Nodejs+eggjs+mongodb编写的一套内容管理系统,结构简单,较目前一些开源的cms,doracms易于拓展,特别适合前端开发工程师做二次开发。
https://www.html-js.cn
MIT License
3.47k stars 1.02k forks source link

关于 cookie-parser middleware 与 express-session #106

Closed de1ck closed 4 years ago

de1ck commented 6 years ago

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已经不再需要使用了。

doramart commented 6 years ago

好的,谢谢!

doramart commented 4 years ago

请升级到 DoraCMS 最新版本