mirror of
https://github.com/nextcloud/server.git
synced 2026-02-28 12:30:40 -05:00
LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
b556f00a4a
commit
bd85053bf3
1 changed files with 1 additions and 1 deletions
|
|
@ -579,7 +579,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