-
Notifications
You must be signed in to change notification settings - Fork 258
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
[Bugfix] CacheLoginThrottleService->isThrottled #412
Conversation
@freezy-sk I think you should still do the
|
@WPPD yes you're right but the best would be using same function for isThrottled and loginAttempt but it needs bigger refactoring |
@@ -1,2 +1,3 @@ | |||
/vendor | |||
composer.lock | |||
.idea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please remove .idea
from .gitignore.
It's better to put this into your global git config instead.
Thanks. But can you fix the gitignore first? |
@Zizaco It's removed right now. I have it in my global gitignore but it's my (bad)habit to add it also to project just to be sure that other developers don't commit their .idea if they don't have it globally ignored. |
[Bugfix] CacheLoginThrottleService->isThrottled
😄 |
When login fails on too many login attempts, it's not possible to check it because
isThrottled()
is passing different identity intocountThrottle()
method.Now it will be the same and it should fix #387 and #392