Hello
I'm receiving the email with new password but I still can only log in with the old one. What am I over looking?
It's not a bug, that's how it works: ResetPassword sets an authorization code to change the password that you will then pass to ChangePassword, but of course ResetPassword does not invalidate the current password itself (as it is in every "reset password" around there).
FRANCESCO CROCETTI @ SKARED CREATIONS
True, I understand that but the new code I get doesnt log the user in. That's the issue.
Sorry for not making that clear.
Mmh... Will get a look at Monday.
FRANCESCO CROCETTI @ SKARED CREATIONS
I tried and it works as expected:
User.ResetPassword("aa", (bool success, string error) => {
Debug.Log("Success: " + success);
});
// After received the code, set a new password
User.ChangePassword(0, "aa", "FMggX", "newpassword", (bool success, string error) => {
Debug.Log("Success: " + success);
});
Are you doing this?
FRANCESCO CROCETTI @ SKARED CREATIONS
Hey, terribly sorry for the late response.
I did overlook the User.ResetPassword, I am a bit new to some of this but I got it to work.
Quick question, I know how to upload a file using UserFile and I can load the file properly, but, how do access its content? Or should I be downloading it via its URL?
Any info on that would be appreciated, again, sorry for the noob questions
Yes you need to download the URL.
FRANCESCO CROCETTI @ SKARED CREATIONS
This is the error I get when I try to download:
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /public_html/upload/2015/07/09/386b70d4583da5bdc75ca55efe02bbb8.dat was not found on this server.</p>
I can clearly see the file on the server though, is this a permissions error? or is do i need to set the eShareType?
Thank you for the quick response.
No it seems a misconfiguration of your URL_ROOT setting in config.php, as it's written in the comment right above the define it should be the absolute URL to the Combu folder (for example if you installed in /combu then it should be: /combu/).
FRANCESCO CROCETTI @ SKARED CREATIONS