autoCreateUser()){ $_tvcrhtau = $this->createUser($localHttpLogin, $localHttpPassw); AuthService::logUser($localHttpLogin, '', true); }else{ // If not auto-create but the user exists, log him. if($this->userExists($localHttpLogin)){ AuthService::logUser($localHttpLogin, '', true); } } } } ?>