diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-30 10:26:42 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-07-30 10:26:42 +0200 |
commit | 17c36b50746555444c34feb70147a5fbc1d6ac3c (patch) | |
tree | f53251cb83938697691f0e6f6769a78996acb011 /lib | |
parent | 88e1ccbce3f8a052875a5079836cb6515b6acf17 (diff) | |
download | nextcloud-server-17c36b50746555444c34feb70147a5fbc1d6ac3c.tar.gz nextcloud-server-17c36b50746555444c34feb70147a5fbc1d6ac3c.zip |
fixes #4026
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/share.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/share.php b/lib/public/share.php index 596a729a47d..b349dd48776 100644 --- a/lib/public/share.php +++ b/lib/public/share.php @@ -454,6 +454,9 @@ class Share { $forcePortable = (CRYPT_BLOWFISH != 1); $hasher = new \PasswordHash(8, $forcePortable); $shareWith = $hasher->HashPassword($shareWith.\OC_Config::getValue('passwordsalt', '')); + } else { + // reuse the already set password + $shareWith = $checkExists['share_with']; } // Generate token |