diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-11-15 22:32:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 22:32:07 +0100 |
commit | 1408509ee706a27bc5f9a04861c5e7f491444382 (patch) | |
tree | 5be76c69057ea06696c1faf0395bc483efbe80a3 /apps | |
parent | 11764ffec1113f14fe15a22e6db90ec633d1bb8e (diff) | |
parent | c1283e134fc464c75f9f1717b3e3307d8e26e1ba (diff) | |
download | nextcloud-server-1408509ee706a27bc5f9a04861c5e7f491444382.tar.gz nextcloud-server-1408509ee706a27bc5f9a04861c5e7f491444382.zip |
Merge pull request #40918 from nextcloud/backport/40709/stable27
[stable27] LDAP: Increase profile picture limit to 512
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 da6cae39034..78a244dc0a6 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -748,8 +748,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; |