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

added rate limit middleware #445

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

AyushSharma72
Copy link
Contributor

@AyushSharma72 AyushSharma72 commented Oct 27, 2024

i added a rate limit middleware in the login api issue #428

login with correct credentials
Screenshot (12)

login with incorrect credentials
Screenshot (14)

login with correct credentials when done many times form the same ip that address is blocked for 5 minutes
Screenshot (13)

it will :
prevent bots attack
reduce the load on the api

Copy link

vercel bot commented Oct 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eventmint ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 27, 2024 7:58am

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

🎉 Thank you for your contribution! Your pull request has been submitted successfully. A maintainer from Eventmint team will review it as soon as possible. We appreciate your support in making this project better

@AyushSharma72
Copy link
Contributor Author

i added a rate limit middleware in the login api issue #428

login with correct credentials Screenshot (12)

login with incorrect credentials Screenshot (14)

login with correct credentials when done many times form the same ip that address is blocked for 5 minutes Screenshot (13)

it will : prevent bots attack reduce the load on the api

can you please review this pr @samyakmaitre

@AyushSharma72
Copy link
Contributor Author

i added a rate limit middleware in the login api issue #428
login with correct credentials Screenshot (12)
login with incorrect credentials Screenshot (14)
login with correct credentials when done many times form the same ip that address is blocked for 5 minutes Screenshot (13)
it will : prevent bots attack reduce the load on the api

can you please review this pr @samyakmaitre

Can you review this pr please @samyakmaitre

@samyakmaitre samyakmaitre added gssoc-ext Under GSSOC'24 Extended hacktoberfest-accepted Hacktoberfest'24 level1 Under GSSOC'24 Extended labels Oct 30, 2024
@samyakmaitre
Copy link
Owner

Thank you for your contribution! The merge has been completed successfully, and the labels have been added. I appreciate your efforts, and don't forget to connect with me on GitHub!

Best regards,
Samyak

@samyakmaitre samyakmaitre merged commit 5fa40fc into samyakmaitre:main Oct 30, 2024
3 checks passed
@AyushSharma72
Copy link
Contributor Author

Thank you for your contribution! The merge has been completed successfully, and the labels have been added. I appreciate your efforts, and don't forget to connect with me on GitHub!

Best regards, Samyak

can you add level2 please @samyakmaitre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext Under GSSOC'24 Extended hacktoberfest-accepted Hacktoberfest'24 level1 Under GSSOC'24 Extended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants