We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6471849 + d4abb33 commit 1a92992Copy full SHA for 1a92992
core/Controller/ProfilePageController.php
@@ -91,7 +91,7 @@ public function index(string $targetUserId): TemplateResponse {
91
);
92
93
$targetUser = $this->userManager->get($targetUserId);
94
- if (!$targetUser instanceof IUser) {
+ if (!($targetUser instanceof IUser) || !$targetUser->isEnabled()) {
95
return $profileNotFoundTemplate;
96
}
97
$visitingUser = $this->userSession->getUser();
0 commit comments