Changes:
The fix involves adding a new Rack Attack rule "profile_updates/ip" and
rewriting the body of the rules "password_resets/ip" and "logins/ip" so
the the request ip is returned if the rule is triggered.
To Test:
Make 4+ Forgot Password requests in less than 30 secs.
Make 4+ Password updates using the User Profile in 30 secs.
You should get the following message with each test above.
Changes: The fix involves adding a new Rack Attack rule "profile_updates/ip" and rewriting the body of the rules "password_resets/ip" and "logins/ip" so the the request ip is returned if the rule is triggered.
To Test:
Make 4+ Forgot Password requests in less than 30 secs.
Make 4+ Password updates using the User Profile in 30 secs.
You should get the following message with each test above.