Skip to content

Commit

Permalink
Merge pull request #28713 from owncloud/stable10-6e22953a91efd540fcf0…
Browse files Browse the repository at this point in the history
…8047f1fea1128d3baa65

[stable10] Validate share link password even if unchanged when updati…
  • Loading branch information
DeepDiver1975 authored Aug 17, 2017
2 parents e61a8c6 + e23f93a commit c09d54f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -706,9 +706,10 @@ public function updateShare(\OCP\Share\IShare $share) {
}
}

//Verify the expiration date
$this->validateExpirationDate($share);

if ($share->getExpirationDate() != $originalShare->getExpirationDate()) {
//Verify the expiration date
$this->validateExpirationDate($share);
$expirationDateUpdated = true;
}
}
Expand Down

0 comments on commit c09d54f

Please sign in to comment.