diff --git a/lib/Service/LoginService.php b/lib/Service/LoginService.php index 8ab072b..7abd905 100644 --- a/lib/Service/LoginService.php +++ b/lib/Service/LoginService.php @@ -391,6 +391,7 @@ private function updateBasicProfile(IUser $user, array $profile): void if (200 === curl_getinfo($curl, CURLINFO_HTTP_CODE)) { $image = new \OC_Image(); $image->loadFromData($raw); + $image->centerCrop(); $avatar->set($image); }