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

Commit 2475da53 authored by Ronak Patel's avatar Ronak Patel
Browse files

vendor changes

parent fbf4dda1
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -102,16 +102,15 @@ class AccountController extends Controller {

			$newUserEntry = $this->userService->registerUser($displayname, $recoveryEmail, $username, $userEmail, $password);
			
			$this->userService->setAccountDataLocally($username, $userEmail, $newUserEntry['quota']);
			$this->userService->createHMEAlias($username, $userEmail);
			$this->userService->createNewDomainAlias($username, $userEmail);
			
			$this->userService->setTOS($username, true);
			$this->userService->setUserLanguage($username, $language);
			
			if($recoveryEmail !== '') {
				$this->userService->setRecoveryEmail($username, $recoveryEmail);
			}
			$this->userService->setAccountDataLocally($username, $userEmail, $newUserEntry['quota']);
		
			$this->userService->sendWelcomeEmail($displayname, $username, $userEmail, $language);