From 619a4d2e523052f0b2b55f1819aff6bc9883537a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 1 Feb 2016 21:46:32 +0100 Subject: Update old password hashed for link shares on access Fixes https://github.com/owncloud/core/issues/16594 --- lib/private/share20/manager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/private/share20/manager.php b/lib/private/share20/manager.php index e45fa4b40f9..581e62fbd7e 100644 --- a/lib/private/share20/manager.php +++ b/lib/private/share20/manager.php @@ -819,7 +819,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; -- cgit v1.2.3