diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index b6097b373cbd6b372e4e4f8ed26f55604877341f..55b74cd0b397aaeda7aac78c56112e2d59e2ba17 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -96,6 +96,7 @@ class UserService { if($this->userExists($uid)) { return $this->userManager->get($uid); } + return null; } public function setRecoveryEmail(string $uid, string $recoveryEmail): void {