Remove orphaned LoginRateLimitService.java #2602
Closed
davemachado
started this conversation in
Feature Requests & Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What would you like Grimmory to do?
As title says, LoginRateLimitService duplicates the logic in the live
AuthRateLimitService, but is never used anywhere in the codebase. A repo-wide search forLoginRateLimitServiceturns up only its own class declaration and constructor.The actual rate limiter that's wired into the login flow is a different-but-similarly-named class.
What problem does this solve for you?
The two class names are close enough (
LoginRateLimitServicevs.AuthRateLimitService) that it's easy to get them confusing when debugging or developing, which is what happened to me when researching #2601.Anything else?
No response
Want to help out?
Yes! I'd love to help implement this
Before submitting
All reactions