Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/password_policy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-06-27 17:03:06 +0300
committerGitHub <noreply@github.com>2016-06-27 17:03:06 +0300
commit96cb076e50b21189cc746d8d6c8e728a95ab4586 (patch)
tree9aab6e261b9a64c88a2b8f065ba3199a26b43aca /lib
parentc2932b21918821786f988334cffdd14d7e6be622 (diff)
parent48f998546dcd20cee9abd65c0fd8a860a804c79f (diff)
Merge pull request #4 from nextcloud/make-10-the-minimum-default
Make 10 characters the minimum default password
Diffstat (limited to 'lib')
-rw-r--r--lib/PasswordPolicyConfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PasswordPolicyConfig.php b/lib/PasswordPolicyConfig.php
index a2b114f..b55b490 100644
--- a/lib/PasswordPolicyConfig.php
+++ b/lib/PasswordPolicyConfig.php
@@ -52,7 +52,7 @@ class PasswordPolicyConfig {
* @return int
*/
public function getMinLength() {
- $minLength = $this->config->getAppValue('password_policy', 'minLength', '8');
+ $minLength = $this->config->getAppValue('password_policy', 'minLength', '10');
return (int)$minLength;
}