Fixed issue with login class reference

This commit is contained in:
Andy Miller
2017-08-28 21:45:41 -06:00
parent 87d4c28b4a
commit 7957381889
2 changed files with 2 additions and 2 deletions

View File

@@ -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;