diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-02 12:37:31 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-02-02 12:37:31 +0100 |
commit | eee6f3d4062d8132938e083881a84660887c17af (patch) | |
tree | 819ef10546388cfa14910b55b27df60e325306a0 /lib | |
parent | c9006d6d560b5b9c0f7df103d68b7b3184fcf439 (diff) | |
parent | 619a4d2e523052f0b2b55f1819aff6bc9883537a (diff) | |
download | nextcloud-server-eee6f3d4062d8132938e083881a84660887c17af.tar.gz nextcloud-server-eee6f3d4062d8132938e083881a84660887c17af.zip |
Merge pull request #22057 from owncloud/share2_update_hash
Update old password hashed for link shares on access
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/share20/manager.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/share20/manager.php b/lib/private/share20/manager.php index 3c5bd197ae8..ac82fe05df4 100644 --- a/lib/private/share20/manager.php +++ b/lib/private/share20/manager.php @@ -815,7 +815,9 @@ class Manager implements IManager { } if (!empty($newHash)) { - //TODO update hash! + $share->setPassword($newHash); + $provider = $this->factory->getProviderForType($share->getShareType()); + $provider->update($share); } return true; |