[AC-1270] Cloud.Users.requestResetPassword sends bad link with two colons
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2014-05-24T02:21:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Keylo E. |
Assignee | Shuo Liang |
Created | 2014-03-15T03:37:46.000+0000 |
Updated | 2016-03-08T07:37:39.000+0000 |
Not sure if you are passing "template" field for this API. Can you reproduce this issue with the following code?
that is the exact code I am using but with a working email. Results in success, email reads.. https:://cloud.appcelerator.com/users/reset_password?key=.......
Hi Keylo, Thank you for your ticket, it is actually a small bug for our code. And I will create a ticket to fix this bug as soon as possible. Regards, Shuo
Sent a ticket to fix this bug already. It is a small bug and will be fixed quickly.
This problem will fixed in next deployment.
The bug has fixed and deployed to production.
I've implemented the steps as indicated on the Web site here: http://docs.appcelerator.com/arrowdb/latest/#!/api/Users-method-request_reset_password I have my own custom email template and website to update the User's password, however when I request to change the password, I get: "{ "meta": { "status":"fail", "code":400, "message":"Failed to reset password: reset_password_token is invalid", "method_name":"resetPassword" } } " Though I am sure the token is correct (same one that was in the Email, is also the one in the URL, and parsed correctly to resend when making the resetPassword API). https://community.appcelerator.com/topic/2838/custom-password-reset-page-bad-request-reset_password_token-is-invalid/3