summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-09-29 13:48:06 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-10-14 14:43:57 +0000
commitc1283e134fc464c75f9f1717b3e3307d8e26e1ba (patch)
tree649f681e00bb778e337baa50e25e2052e1848f5f
parent90c6b883a247c8112ff54ab5bc2173fd26c5ce9a (diff)
downloadnextcloud-server-c1283e134fc464c75f9f1717b3e3307d8e26e1ba.tar.gz
nextcloud-server-c1283e134fc464c75f9f1717b3e3307d8e26e1ba.zip
Update apps/user_ldap/lib/User/User.php
Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
-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 653e21a42ca..78a244dc0a6 100644
--- a/apps/user_ldap/lib/User/User.php
+++ b/apps/user_ldap/lib/User/User.php
@@ -748,7 +748,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']);