Eugen Rochko
31fe0d067b
Apply a 25x rate limit by IP even to authenticated requests ( #5948 )
7 years ago
Naoki Kosaka
77660c4624
Missing require 'authorization_decorator'. ( #5947 )
7 years ago
Eugen Rochko
87af0bf6cf
Rate limit by user instead of IP when API user is authenticated ( #5923 )
...
* Fix #668 - Rate limit by user instead of IP when API user is authenticated
* Fix code style issue
* Use request decorator provided by Doorkeeper
7 years ago
unarist
527eacf403
Add Content-Type header on throttled response to fix mojibake ( #4558 )
...
application/json only allows Unicode, so this prevents from wrong charset detection.
7 years ago
alpaca-tc
62738bf1a9
Localize 'throttled' ( #2755 )
8 years ago
Tristan Mahé
19881e24fe
allow localhost to bypass the ratelimit ( #2554 )
8 years ago
Eugen
e47b32072f
Add rate limits for logins and sign-ups by IP (5 in 5 minutes) ( #2079 )
...
* Add rate limits for logins and sign-ups by IP (5 in 5 minutes)
Should be enough for normal attempts
* Add rate limit for forgotten password form as well
8 years ago