diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index e818a5024b1..7c613da8436 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -578,7 +578,7 @@ class User { } - //make sure it is a square and not bigger than 128x128 + //make sure it is a square and not bigger than 512x512 $size = min([$this->image->width(), $this->image->height(), 512]); if (!$this->image->centerCrop($size)) { $this->logger->error('croping image for avatar failed for '.$this->dn, ['app' => 'user_ldap']);