diff options
author | Daniel <mail@danielkesselberg.de> | 2023-09-30 22:43:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-30 22:43:11 +0200 |
commit | ee590ab5a9762630bae830f20e6310a013a2f51d (patch) | |
tree | 628bdf53ae3873ccba5c35a1983bc38fc06a2ce3 /apps | |
parent | d215d8091699b39763c6c5d23b5125b7734c19f7 (diff) | |
parent | 7f5b61c66d105737cfcf87489ed7c049f19ca34e (diff) | |
download | nextcloud-server-ee590ab5a9762630bae830f20e6310a013a2f51d.tar.gz nextcloud-server-ee590ab5a9762630bae830f20e6310a013a2f51d.zip |
Merge pull request #40709 from nextcloud/fix/ldap-profile-pic-resolution-master
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/User/User.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php index 635c0df6dfe..214b475e2e4 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -739,8 +739,8 @@ class User { } - //make sure it is a square and not bigger than 128x128 - $size = min([$this->image->width(), $this->image->height(), 128]); + //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']); return false; |