diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-09-29 13:48:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 13:48:06 +0200 |
commit | 7f5b61c66d105737cfcf87489ed7c049f19ca34e (patch) | |
tree | 7676b15e7bb11e90089e08c14297d0af190526a0 /apps | |
parent | 66f6e94d7d1a4480f991e8afac50feffb514437d (diff) | |
download | nextcloud-server-7f5b61c66d105737cfcf87489ed7c049f19ca34e.tar.gz nextcloud-server-7f5b61c66d105737cfcf87489ed7c049f19ca34e.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>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/User/User.php | 2 |
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 2b9924fa5c9..214b475e2e4 100644 --- a/apps/user_ldap/lib/User/User.php +++ b/apps/user_ldap/lib/User/User.php @@ -739,7 +739,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']); |