mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-04-12 23:57:34 +02: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