Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update apps/user_ldap/lib/User/User.php
Co-authored-by: Arthur Schiwon <[email protected]>
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
2 people authored and backportbot-nextcloud[bot] committed Oct 14, 2023
commit de296a467fe5f6168e859dcd67d420d396997160
2 changes: 1 addition & 1 deletion apps/user_ldap/lib/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ private function setOwnCloudAvatar() {
}


//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']);
Expand Down