Ghost/core/server/middleware
Sebastian Gierlinger 3792598a31 Update spam prevention
closes #3468
- added rate limit to deny more than 5 attempt every hour
- updated spam prevention to be configurable
- added config values spamTimeout, ratePeriod, rateAttempts
- added ratePeriod:1 to config.example.js to prevent functional tests
from hitting the rate limit
- commented spam test, I’ll fix it tomorrow
2014-08-01 00:58:32 +02:00
..
authStrategies.js oAuth 2014-06-30 14:58:10 +02:00
ghost-busboy.js Add distinct error classes 2014-05-09 12:11:29 +02:00
index.js Change refresh token expiry 2014-07-28 15:19:49 +02:00
middleware.js Update spam prevention 2014-08-01 00:58:32 +02:00
oauth.js Change refresh token expiry 2014-07-28 15:19:49 +02:00