summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/share20/manager.php4
1 files changed, 3 insertions, 1 deletions
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;