diff options
-rw-r--r-- | lib/private/Share20/Manager.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 7bed012fe8f..3e4d5cc3813 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -731,10 +731,9 @@ class Manager implements IManager { $this->validateExpirationDate($share); $expirationDateUpdated = true; } - } + } else if ($share->getShareType() === \OCP\Share::SHARE_TYPE_EMAIL) { + $plainTextPassword = null; - $plainTextPassword = null; - if ($share->getShareType() === \OCP\Share::SHARE_TYPE_EMAIL) { // Password updated. if ($share->getPassword() !== $originalShare->getPassword()) { //Verify the password |