Notifications
Clear all

ResetPassword

4 Posts
2 Users
0 Reactions
701 Views
 BOLU
(@bolu)
Posts: 2
New Member
Topic starter
 

Hi

In ResetPassword you must pass the username, but it only works with the user ID, I´m having trouble understanding how the user is supposed to know his/her user ID??

If I pass the username i get "False -- This user does not exist" If I pass User ID i get "True".

What am I doing wrong here?

User.ResetPassword( forgotPassWdUserName.text, (bool success, string error) =>
{
Debug.Log(success + " -- " + error);
});

 

 
Posted : 07/06/2019 10:07 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 

I'm not able to reproduce the issue at this moment on my environment, anyway I'm working on an update to release some new functionalities and a better way to load account by Id or Username in the webservices (it was possible that if the username is numeric then it was considered as Id, in which case it would load the wrong account).

I had to delay the release of this update for few weeks because of too workload on my daytime job, but I should be able to release it in the next weekend.

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 08/06/2019 12:13 pm
 BOLU
(@bolu)
Posts: 2
New Member
Topic starter
 

That sounds great..

All my usernames are numeric. For test I created one that is not and then it returns true.

Look forward to the update. 🙂 

 
Posted : 11/06/2019 7:52 am
(@skaredcreations)
Posts: 805
Prominent Member Admin
 
Posted by: BOLU

All my usernames are numeric. For test I created one that is not and then it returns true. 

Oh so that was the reason, it was loading the wrong user because of numeric value as username, this is fixed in the upcoming release.

I'm working hard to add as more feature requests and bugfixes as I can, it will be hopefully released by Saturday or Sunday of the current week. A message will be sent to the newsletter as usual, signup your email if you want to receive notification (there's a box in the right column on any page excluding homepage, blog and forum).

FRANCESCO CROCETTI @ SKARED CREATIONS

 
Posted : 11/06/2019 8:23 am
Share: