mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
5ae0f3a1fd
commit
90c6b883a2
1 changed files with 1 additions and 1 deletions
|
|
@ -749,7 +749,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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue