mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #33643 from nextcloud/enh/profile-handling
This commit is contained in:
commit
b5a4042391
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ class ProfilePageController extends Controller {
|
|||
);
|
||||
|
||||
$targetUser = $this->userManager->get($targetUserId);
|
||||
if (!$targetUser instanceof IUser) {
|
||||
if (!($targetUser instanceof IUser) || !$targetUser->isEnabled()) {
|
||||
return $profileNotFoundTemplate;
|
||||
}
|
||||
$visitingUser = $this->userSession->getUser();
|
||||
|
|
|
|||
Loading…
Reference in a new issue