mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 10:56:08 +01:00
Fixed issue with login class reference
This commit is contained in:
@@ -396,7 +396,7 @@ class Admin
|
||||
}
|
||||
|
||||
$user->authenticated = true;
|
||||
$this->login->resetRateLimits($user,'login_attempts');
|
||||
$login->resetRateLimit($user,'login_attempts');
|
||||
|
||||
if ($user->authorize('admin.login')) {
|
||||
$this->user = $this->session->user = $user;
|
||||
|
||||
Reference in New Issue
Block a user