Reset Password: new...
 
Notifications
Clear all

Reset Password: new password returns Credentials are invalid

6 Posts
3 Users
0 Reactions
741 Views
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

When I use the Password Reset function, and then paste in the password sent by email into the Login field, Combu says "Credentials are invalid." This worked a few weeks ago (before the 2.1.1 update). Suggestions on debugging it?

 
Posted : 05/10/2015 4:35 pm
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

Sorry, I'm not having this issue. Try to download the latest version 2.1.3 from this website.

Or you're doing something wrong, the code you receive in the email is the authorization code that you must pass to User.ChangePassword besides the new password.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 05/10/2015 7:27 pm
(@gecko64)
Posts: 82
Estimable Member
Topic starter
 

We're upgraded to 2.1.3...but I think the procedure for the user is unclear. The email says "please enter the code xxxx in the client." So this isn't a temporary password, but another code? So we have to display a different interface to the user with...what? Email Address and New Password, *and* this code? That's an unusual procedure--is that how it is supposed to work? (It's cumbersome because now we need to create a new interface, and a new button for the player to access that interface after they receive the email.) 

 
Posted : 07/10/2015 5:01 am
(@tommih)
Posts: 44
Trusted Member
 

In addition, the function seems to be:

ChangePassword(long idUser, string username, string resetCode, string newPassword, callback)

How are we meant to know the ID of the user if the user is unable to log in?

 
Posted : 10/10/2015 2:00 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

You can pass 0 as Id and pass username

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 10/10/2015 11:27 am
(@tommih)
Posts: 44
Trusted Member
 

Thanks! That works.

 
Posted : 10/10/2015 3:41 pm
Share: