diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index 7f55abd6..3ba1557e 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -1697,7 +1697,7 @@ class RestAuthenticationController extends AdminController } }else{ - return $this->respond(['status' => 'failed', 'code' => 404, 'message' => 'User not found'], 404); + return $this->respond(['status' => 'failed', 'code' => 404, 'message' => 'Old password is incorrect'], 404); } } catch (\Throwable $th) {