Getting an error when trying to register and login
Hi Kevin thanks for sharing your apps. This is really awesome, it triggers my appreciation for ionic. I just wanna share this error i got when trying to configure my own endpoint url. I attached here a screenshot, i hope you can help me with it. I also would like to contribute to this project.

Thanks,
Paul de Paula
i have checked the error on drupal side and i saw this:

It seems that it sends an undefined data which supposed to be a username and password.
Same problem here. Try this: In login.html, line 9, change doLogin() to doLogin(username, password) In controllers.js, line 37, change $scope.doLogin = function() { to $scope.doLogin = function(username, password) { and line 43 change Account.login($scope.username, $scope.password).then(function(data){ to Account.login(username, password).then(function(data){
If Drupal Services is set to use the v1.1 API, then you'll also need to change line 35 of services.js to
data : 'name=' + encodeURIComponent(username) + '&pass=' + encodeURIComponent(password),
also the username and password should be url encoded.
Hello after the above correction, I managed to login to the site but the register process still fails. Can you please help?