You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for sharing,
i think i hit a bug...
if you simulate a failed login, and then log in successfully you will notice that no record was added due to the authentication throttling.
a normal behavior should be add a record if the type status changes regardless of throttling time, as this is a new state and should be logged.. so right now after a failed login, i do not get a successful log recorded.
the fix is as follow:
add this && $login['type'] == Login::TYPE_LOGIN to the if statement as shown below in the: AuthChecker.php file if (isset($login->created_at) && $login->created_at->gt($limit) && $login['type'] == Login::TYPE_LOGIN) { return false; }
cheers,
Jay
The text was updated successfully, but these errors were encountered:
Thank you for sharing,
i think i hit a bug...
if you simulate a failed login, and then log in successfully you will notice that no record was added due to the authentication throttling.
a normal behavior should be add a record if the type status changes regardless of throttling time, as this is a new state and should be logged.. so right now after a failed login, i do not get a successful log recorded.
the fix is as follow:
add this
&& $login['type'] == Login::TYPE_LOGIN
to the if statement as shown below in the:AuthChecker.php
fileif (isset($login->created_at) && $login->created_at->gt($limit) && $login['type'] == Login::TYPE_LOGIN) { return false; }
cheers,
Jay
The text was updated successfully, but these errors were encountered: