Loading lib/Service/UserService.php +1 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,7 @@ class UserService { if ($this->userExists($username)) { throw new Exception("Username is already taken."); } if (!empty($recoveryEmail) || $this->checkRecoveryEmailAvailable($recoveryEmail)) { if (!empty($recoveryEmail) && $this->checkRecoveryEmailAvailable($recoveryEmail)) { throw new Exception("Recovery email address is already taken."); } return $this->addNewUserToLDAP($displayname, $recoveryEmail, $username, $userEmail, $password); Loading Loading
lib/Service/UserService.php +1 −1 Original line number Diff line number Diff line Loading @@ -236,7 +236,7 @@ class UserService { if ($this->userExists($username)) { throw new Exception("Username is already taken."); } if (!empty($recoveryEmail) || $this->checkRecoveryEmailAvailable($recoveryEmail)) { if (!empty($recoveryEmail) && $this->checkRecoveryEmailAvailable($recoveryEmail)) { throw new Exception("Recovery email address is already taken."); } return $this->addNewUserToLDAP($displayname, $recoveryEmail, $username, $userEmail, $password); Loading