diff --git a/php/controller/profile-controller.php b/php/controller/profile-controller.php index 27832c4..5cf6126 100644 --- a/php/controller/profile-controller.php +++ b/php/controller/profile-controller.php @@ -20,6 +20,7 @@ try { } } catch (Exception $e) { $_SESSION["message"] = "internal_error"; + exit(); } if (!$user) {