Endpoints/User
* do not display user page for internal system user
This commit is contained in:
parent
215ad39cc6
commit
1dcdf9623b
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue