Reset password problem

This commit is contained in:
Robert 2022-07-21 15:12:07 +02:00
parent cf38b67ed0
commit 0fbce95763

View File

@ -1881,7 +1881,6 @@ class ApiLogin
// Ce emaila ni v bazi
$user_id_1ka = User::findByEmail($email);
return $this->ajaxResponse('error', ['text' => $lang['cms_error_no_email']]);
if (empty($user_id_1ka)) {
if($ajaxKlic || $this->method == 'AJAX'){