Skip to content

Conversation

@LilyFirefly
Copy link

We should add sane defaults so these views are protected by default.

@LilyFirefly
Copy link
Author

@meshy How about '10/hour' for login attempts and '2/hour' for password reset attempts?

@LilyFirefly LilyFirefly self-assigned this Jun 20, 2014
@meshy
Copy link
Contributor

meshy commented Jun 20, 2014

Seems ok -- maybe 2 is a little restrictive, though. 3-4, perhaps?

@LilyFirefly
Copy link
Author

I can't think of a reason to request more than one password reset, but 3 doesn't seem unreasonable.

* Limit GetToken requests to 10/hour
* Limit PasswordResetEmail requests to 3/hour
@LilyFirefly
Copy link
Author

@meshy Review?

meshy added a commit that referenced this pull request Jun 20, 2014
Add default throttle rates for login and password
@meshy meshy merged commit 9cdd2c1 into master Jun 20, 2014
@meshy meshy deleted the default-throttling branch June 20, 2014 11:08
@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 2be9613 on default-throttling into 8c15f3b on master.

@meshy
Copy link
Contributor

meshy commented Jun 20, 2014

Thanks, coveralls. Great timing ¬_¬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants