Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49183

Basic login doesn't work with ionic.io platform

$
0
0

@kaflesudip wrote:

I am using Ionic Platform's Auth service to register and login user. Signup works fine but while logging in, it doesn't call the success function neither the error function. The console, however, shows the message ''Ionic User: loaded user".

Ionic.Auth.login('basic', {'remember': true}, details).then(
 	function(loggeduser){
            console.log("logged in");
	    $ionicLoading.hide();
	    $state.go('app.dashboard');
	}, function(error){
	    $ionicLoading.hide();
	    vm.showAlert('Invalid username or password.');
  	}
);

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>