aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2023-09-30 22:43:11 +0200
committerGitHub <noreply@github.com>2023-09-30 22:43:11 +0200
commitee590ab5a9762630bae830f20e6310a013a2f51d (patch)
tree628bdf53ae3873ccba5c35a1983bc38fc06a2ce3 /apps
parentd215d8091699b39763c6c5d23b5125b7734c19f7 (diff)
parent7f5b61c66d105737cfcf87489ed7c049f19ca34e (diff)
downloadnextcloud-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.php4
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;