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

fix: Blocking spam and bulk registrations #53

Conversation

MateuszKikmunter
Copy link
Collaborator

Fixed issue #26 with simple rate limiting - only 5 calls to /register per hour will be allowed now, and if this limit is exceeded, server will reply with HTTP 429, X-RateLimit-* headers and message Too many requests, please try again later.

Additinally I started adding some tests. (I'm planning to add more in a separate PR)

@EddieEldridge
Copy link
Contributor

Looks good to me, nice work!

@MateuszKikmunter
Copy link
Collaborator Author

Looks good to me, nice work!

Thanks @EddieEldridge !

@MateuszKikmunter MateuszKikmunter mentioned this pull request Jan 31, 2022
@gitfrosh
Copy link
Owner

gitfrosh commented Feb 4, 2022

Thanks a bunch @MateuszKikmunter! Changes will go live with the next release :)

@gitfrosh gitfrosh merged commit 83b07f6 into gitfrosh:release Feb 4, 2022
@MateuszKikmunter
Copy link
Collaborator Author

Thanks a bunch @MateuszKikmunter! Changes will go live with the next release :)

No problem! 😊 Now I’ll start adding more tests on the backend and will create another PR sometime soon @gitfrosh 😊

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