Ghost/core/server/services/auth/session
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
..
express-session.js Lazily instantiated express-session middleware 2021-07-14 17:19:53 +01:00
index.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
middleware.js Enabled authentication using an api key with a user_id 2020-11-20 09:53:18 +01:00
store.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00