0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core
Fabien O'Carroll 62ee693310 Lazily instantiated express-session middleware
refs https://github.com/TryGhost/Team/issues/756

When running the tests it was possible for this middleware to be
instantiated before the settings cache, resulting in an undefined
'session_secret' setting being passed. This would cause tests to fail.

Tracking this down proved difficult, so the fix was made here, by
instantiating the express-session middleware only once a request needs
to use it, we can be confident that Ghost has completely started.
2021-07-14 17:19:53 +01:00
..
client@63193dc815 Updated Ghost-Admin to v4.9.4 2021-07-12 18:53:22 +01:00
frontend Moved labs utlity to shared 2021-07-08 09:05:41 +01:00
server Lazily instantiated express-session middleware 2021-07-14 17:19:53 +01:00
shared Moved labs middleware into labs utility 2021-07-08 09:05:41 +01:00
app.js
boot.js Revert "Moved vhost mounts into boot file" 2021-07-08 07:10:18 +01:00
bridge.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00