Closed codebyray closed 2 years ago
When using:
auth()->user()->previousLoginAt(); // or auth()->user()->previousLoginIp();
They currently do not skip ALL failed login attempts.
For instance, if there is a failed login attempt prior to the current successful login, it will retrieve and return the failed login details.
With this pull request it will fix that issue and skip the failed login attempts and give the true successful previous login.
When using:
They currently do not skip ALL failed login attempts.
For instance, if there is a failed login attempt prior to the current successful login, it will retrieve and return the failed login details.
With this pull request it will fix that issue and skip the failed login attempts and give the true successful previous login.