From a37f29964f86be5ec51fe33d32e290d3701828b2 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 23 Nov 2016 21:30:15 +0100 Subject: add setting for "send password link" Signed-off-by: Morris Jobke --- lib/private/User/Manager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/private/User/Manager.php') 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)) { -- cgit v1.2.3