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

Commit d452e3ea authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

tos accepted flag set

parent 5c3cc6dd
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', 84,72:  * - postLogin(\OC\User\User $user, string $loginName, string $password, boolean $tosAccepted)): DataResponse {
	public function setAccountData(string $token, string $uid, string $email, string $recoveryEmail, string $hmeAlias, string $quota = '1024 MB', boolean $tosAccepted = 'false'): DataResponse {
		$response = new DataResponse();

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