Loading lib/Controller/UserController.php +5 −3 Original line number Diff line number Diff line Loading @@ -95,10 +95,12 @@ class UserController extends ApiController { $user->setEMailAddress($email); $user->setQuota($quota); if ($this->appManager->isEnabledForUser('terms_of_service')) { $tosSignatoryInserted = $this->signatoryService->tosSignatoryInsert($uid); if (!$tosSignatoryInserted) { return $this->getErrorResponse($response, 'error_setting_tos', 400); } } $recoveryEmailUpdated = $this->userService->setRecoveryEmail($uid, $recoveryEmail); if (!$recoveryEmailUpdated) { return $this->getErrorResponse($response, 'error_setting_recovery', 400); Loading Loading
lib/Controller/UserController.php +5 −3 Original line number Diff line number Diff line Loading @@ -95,10 +95,12 @@ class UserController extends ApiController { $user->setEMailAddress($email); $user->setQuota($quota); if ($this->appManager->isEnabledForUser('terms_of_service')) { $tosSignatoryInserted = $this->signatoryService->tosSignatoryInsert($uid); if (!$tosSignatoryInserted) { return $this->getErrorResponse($response, 'error_setting_tos', 400); } } $recoveryEmailUpdated = $this->userService->setRecoveryEmail($uid, $recoveryEmail); if (!$recoveryEmailUpdated) { return $this->getErrorResponse($response, 'error_setting_recovery', 400); Loading