#904·passport

Sessions do not always have regenerate() and save() cauing a fault

Author: YlianstCreated May 23, 2022Updated Oct 8, 2025
Labelsbugenhancement

I am the author of MeshCentral and use cookie-session along with Password. A recent commit in Password is causing crashes because cookie-session does not have a regenerate() or save() method.

See this issue: https://github.com/expressjs/cookie-session/issues/166

Could Passport revert to the old style of setting session values unless these methods exist? Thanks.