We would like to let players recover their username and password with their email address, instead of their username. Is there a way to do that?
Replace the constructor of CB_Account.php with this and you can use the email for any method that requires a Username:
censored for security, the change will be anyway added to the next update
FRANCESCO CROCETTI @ SKARED CREATIONS
Thanks very much! However, when we swap in this code, we get an error in Unity: "Failed to get Combu server info” -- nothing else useful. Here is that section of the file. Did we do something wrong?
thanks
Dave
censored for security
May be you are missing a closing "}" for the function, from what I see there.
FRANCESCO CROCETTI @ SKARED CREATIONS
Yeah, we had that in there before, but that didn't work, LogError, so took it out (for some reason, not sure now), and it also failed. So I put it back in (copied your original code actually) and get this:
Combu login error:
UnityEngine.Debug:LogError(Object)
CombuLoginAndRegister:<Login>m__9(Boolean, String) (at Assets/0 Game Assets/Scripts/User Accounts/CombuLoginAndRegister.cs:113)
Combu.<Authenticate>c__AnonStoreyE6:<>m__5F(String, String) (at Assets/Combu/Scripts/User.cs:87)
Combu.<DownloadUrl>c__Iterator72:MoveNext() (at Assets/Combu/Scripts/CombuManager.cs:405)
I don't know, what happens there but I'll send you my file privately because I'm not having issues with Authenticate.
FRANCESCO CROCETTI @ SKARED CREATIONS
Got the file -- and that works! Thanks! Dunno what I did wrong.