0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Fabien 'egg' O'Carroll 1af2b50dcf
Added userAuth brute middleware to members auth endpoint (#13152)
refs https://github.com/TryGhost/Team/issues/696

The userAuth spam prevention logic is reused, but a new piece of
middleware has to be created so that we can use a custom lookup key to
conatin the member email.

We must also add json parsing middleware to the route so that the brute
middleware can read the email.

The express body-parser middleware handles multiple instances on the
same route, so this doesn't cause problems upstream.

https://github.com/expressjs/body-parser/blob/1.19.0/lib/types/json.js#L99-L103
2021-07-19 09:40:38 +01:00
..
client@63193dc815 Updated Ghost-Admin to v4.9.4 2021-07-12 18:53:22 +01:00
frontend Decreased coupling of frontend routing to server api 2021-07-19 19:45:54 +12:00
server Added userAuth brute middleware to members auth endpoint (#13152) 2021-07-19 09:40:38 +01:00
shared Added featureImgDragDrop alpha labs flag 2021-07-15 16:01:34 +01:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
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