diff options
Diffstat (limited to 'settings')
-rw-r--r-- | settings/BackgroundJobs/VerifyUserData.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/BackgroundJobs/VerifyUserData.php b/settings/BackgroundJobs/VerifyUserData.php index 8c02ae1727c..5e5b2b9c678 100644 --- a/settings/BackgroundJobs/VerifyUserData.php +++ b/settings/BackgroundJobs/VerifyUserData.php @@ -231,7 +231,7 @@ class VerifyUserData extends Job { $body = json_decode($response->getBody(), true); - if ($body['federationId'] === $cloudId) { + if (is_array($body) && isset($body['federationId']) && $body['federationId'] === $cloudId) { return $body; } |