Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 886673ea authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

Merge branch 'dev/tos-service-call' of...

Merge branch 'dev/tos-service-call' of gitlab.e.foundation:e/infra/ecloud/nextcloud-apps/ecloud-accounts into dev/tos-service-call
parents 9a353936 9f13fa9e
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class UserController extends ApiController {

		$user->setEMailAddress($email);
		$user->setQuota($quota);
		$this->config->setUserValue($uid, 'terms_of_service', 'tosAccepted', $tosAccepted);
		$this->config->setUserValue($uid, 'terms_of_service', 'tosAccepted', strval($tosAccepted));
		$recoveryEmailUpdated = $this->userService->setRecoveryEmail($uid, $recoveryEmail);
		if (!$recoveryEmailUpdated) {
			return $this->getErrorResponse($response, 'error_setting_recovery', 400);