From 1dcdf9623b41b3b4e33dfa78a0f0f01e51bd30ce Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Wed, 8 Oct 2025 20:01:24 +0200 Subject: [PATCH] Endpoints/User * do not display user page for internal system user --- endpoints/user/user.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/endpoints/user/user.php b/endpoints/user/user.php index c89a6cf2..72b87671 100644 --- a/endpoints/user/user.php +++ b/endpoints/user/user.php @@ -42,6 +42,10 @@ class UserBaseResponse extends TemplateResponse $this->user = $user; else $this->generateNotFound(Lang::user('notFound', [$pageParam])); + + // do not display system account + if (!$this->user['id']) + $this->generateNotFound(Lang::user('notFound', [$pageParam])); } protected function generate() : void