We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1cdd501 + de296a4 commit c8f1141Copy full SHA for c8f1141
1 file changed
apps/user_ldap/lib/User/User.php
@@ -578,8 +578,8 @@ private function setOwnCloudAvatar() {
578
}
579
580
581
- //make sure it is a square and not bigger than 128x128
582
- $size = min([$this->image->width(), $this->image->height(), 128]);
+ //make sure it is a square and not bigger than 512x512
+ $size = min([$this->image->width(), $this->image->height(), 512]);
583
if (!$this->image->centerCrop($size)) {
584
$this->logger->error('croping image for avatar failed for '.$this->dn, ['app' => 'user_ldap']);
585
return false;
0 commit comments