diff --git a/app/library/Auth.php b/app/library/Auth.php index 75c622b..4f2f262 100644 --- a/app/library/Auth.php +++ b/app/library/Auth.php @@ -28,7 +28,7 @@ class Auth extends Component if ($user) { // Verify password $hash = $user->getPassword(); - if (strlen($hash) > 1 && password_verify($password, $hash)) { + if (strlen($hash) > 1 && $this->security->checkHash($password, $hash)) { $this->setIdentity($user->getId());