summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-04-19 16:56:34 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-04-20 16:33:26 +0200
commit972b4c04e2ea3bf96533c111853a57177231c638 (patch)
treee4b17437ede942eaff7fb0fc195d92e1e58cccb8 /lib/private/Share20
parent428d7cdb5e7be1d5ede6d5084459660b22c84b2c (diff)
downloadnextcloud-server-972b4c04e2ea3bf96533c111853a57177231c638.tar.gz
nextcloud-server-972b4c04e2ea3bf96533c111853a57177231c638.zip
respect password policy for auto generated passwords
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/ProviderFactory.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php
index c9c0265c789..c79f58f6ba6 100644
--- a/lib/private/Share20/ProviderFactory.php
+++ b/lib/private/Share20/ProviderFactory.php
@@ -23,6 +23,7 @@
*/
namespace OC\Share20;
+use OC\CapabilitiesManager;
use OCA\FederatedFileSharing\AddressHandler;
use OCA\FederatedFileSharing\DiscoveryManager;
use OCA\FederatedFileSharing\FederatedShareProvider;
@@ -161,7 +162,8 @@ class ProviderFactory implements IProviderFactory {
$this->serverContainer->getActivityManager(),
$settingsManager,
$this->serverContainer->query(Defaults::class),
- $this->serverContainer->getHasher()
+ $this->serverContainer->getHasher(),
+ $this->serverContainer->query(CapabilitiesManager::class)
);
}