Ghost/core/server/services/auth
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
..
api-key Moved i18n to shared 2021-05-04 13:03:38 +01:00
members Fixed members auth middleware 2021-05-24 11:28:15 +01:00
session Lazily instantiated express-session middleware 2021-07-14 17:19:53 +01:00
authenticate.js 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
authorize.js Moved i18n to shared 2021-05-04 13:03:38 +01:00
index.js 🔥 Removed v0.1 auth services (#11104) 2019-09-11 19:40:48 +02:00
passwordreset.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
setup.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00