diff --git a/lib/Service/UserService.php b/lib/Service/UserService.php index 1cf1ffdc798657a8407c9b711d440f8cff6ecacd..5b3d20556d78a06b1a213fe5bd2140556e64108a 100644 --- a/lib/Service/UserService.php +++ b/lib/Service/UserService.php @@ -290,14 +290,14 @@ class UserService { $base = $this->LDAPConnectionService->getLDAPBaseUsers()[0]; $newUserDN = "username=$username," . $base; - + $quota = $this->LDAPConnectionService->getLdapQuota() * 1024 * 1024; $newUserEntry = [ 'mailAddress' => $userEmail, 'username' => $username, 'usernameWithoutDomain' => $username, 'userPassword' => $password, 'displayName' => $displayname, - 'quota' => $this->LDAPConnectionService->getLdapQuota(), + 'quota' => $quota, 'recoveryMailAddress' => $recoveryEmail, 'active' => 'TRUE', 'mailActive' => 'TRUE',