aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User/Manager.php
diff options
context:
space:
mode:
authortobiasKaminsky <tobias@kaminsky.me>2016-11-23 21:30:15 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-02-15 17:45:20 -0600
commita37f29964f86be5ec51fe33d32e290d3701828b2 (patch)
tree2f11e4aa27c04a0f7f767d105bb081d90dce8276 /lib/private/User/Manager.php
parent3c7755fc662b0fcedad261e2e12755faedb1c567 (diff)
downloadnextcloud-server-a37f29964f86be5ec51fe33d32e290d3701828b2.tar.gz
nextcloud-server-a37f29964f86be5ec51fe33d32e290d3701828b2.zip
add setting for "send password link"
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/User/Manager.php')
-rw-r--r--lib/private/User/Manager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index 3d016700ee3..cb726b55eac 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -282,9 +282,9 @@ class Manager extends PublicEmitter implements IUserManager {
throw new \Exception($l->t('Username contains whitespace at the beginning or at the end'));
}
// No empty password
- if (trim($password) == '') {
- throw new \Exception($l->t('A valid password must be provided'));
- }
+// if (trim($password) == '') {
+// throw new \Exception($l->t('A valid password must be provided'));
+// }
// Check if user already exists
if ($this->userExists($uid)) {