Ionic.auth


#1

Hi:

I register my users with:

Ionic.Auth.signup(details).then(signupSuccess, signupFailure);

I login my users with:

Ionic.Auth.login(authProvider, authSettings, loginDetails)
.then(authSuccess, authFailure);

How I can change the user password?

I tried with:

user.set(‘password’, xxxxx);

and,

user.resetPassword();

but This, send email with a new password, but I want to change de password that
user chooses.


#2

Any idea???


#3

I use:

var user = Ionic.User.current();
       user.set(user.details.password, $scope.modifypass.password2)
       user.save();

but it doesn’t work!