Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic registration ratelimit #1673

Merged
merged 6 commits into from
Oct 4, 2024
Merged

Add basic registration ratelimit #1673

merged 6 commits into from
Oct 4, 2024

Conversation

ar-jan
Copy link
Contributor

@ar-jan ar-jan commented Oct 3, 2024

@tymees does this throttle implementation look reasonable?

Team, do we want DEFAULT_THROTTLE_RATES in common or local settings? And what's a rate that's high enough for potential peak registration periods (like a course/lecture)?

@tymees
Copy link
Member

tymees commented Oct 3, 2024

The setup looks reasonable to me!

The only thing I'd have to add is that the original CERT call also mentions a lack of throttling on the PW reset view (it's not very clearly written, but it is in there...), so you might want to apply something similar to that?

@ar-jan
Copy link
Contributor Author

ar-jan commented Oct 3, 2024

Thanks, I missed that. Added.

@BeritJanssen
Copy link
Contributor

The message when trying to register to often is not customized yet:
Screenshot 2024-10-03 at 14 34 05

I think it would be good to do so, as most users won't know what "throttled" means.

Copy link
Contributor

@BeritJanssen BeritJanssen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the current message in the reset password template, looks good to me!

@ar-jan ar-jan merged commit bee4e74 into develop Oct 4, 2024
2 checks passed
@ar-jan ar-jan deleted the feature/ratelimit branch October 4, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants