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

Commit 83a627c3 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

tos accepted flag set

parent a08407ac
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ class UserController extends ApiController {
	 * @PublicPage
	 * @NoCSRFRequired
	 */
	public function setAccountData(string $token, string $uid, string $email, string $recoveryEmail, string $hmeAlias, string $quota = '1024 MB', boolean $tosAccepted = false): DataResponse {
	public function setAccountData(string $token, string $uid, string $email, string $recoveryEmail, string $hmeAlias, string $quota = '1024 MB',  bool $tosAccepted = false): DataResponse {
		$response = new DataResponse();

		if (!$this->checkAppCredentials($token)) {