aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-09-05 11:24:54 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-09-29 12:47:48 +0200
commit66f6e94d7d1a4480f991e8afac50feffb514437d (patch)
tree2ea676c3e2bb032bd3e61fd59c04f11165b86e5d /apps
parentf8f437072ac13a4556dea18219d55f11466497e5 (diff)
downloadnextcloud-server-66f6e94d7d1a4480f991e8afac50feffb514437d.tar.gz
nextcloud-server-66f6e94d7d1a4480f991e8afac50feffb514437d.zip
LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/User/User.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/User/User.php b/apps/user_ldap/lib/User/User.php
index 635c0df6dfe..2b9924fa5c9 100644
--- a/apps/user_ldap/lib/User/User.php
+++ b/apps/user_ldap/lib/User/User.php
@@ -740,7 +740,7 @@ class User {
//make sure it is a square and not bigger than 128x128
- $size = min([$this->image->width(), $this->image->height(), 128]);
+ $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;