-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User setPassword cause Object not found #260
Comments
You need to call Parse.Cloud.useMasterKey() to update an user which is not logged in |
Yes i call it. I just include a part of my code where don't include the header where i call Parse.Cloud.useMasterKey(). |
Try |
@gfosco nice, is working. Thanks for your help ! |
Why didn't |
yeah good question. Why @gfosco ? |
|
Ok thanks @drew-gross ! |
That should be explicitly told in Parse Migration Guide - 3. Cloud Code. |
If i try to change the password for a user, i always got Object not found error after save user object.
This is my code i user in cloud code function.
`
var query = new Parse.Query(Parse.User);
query.equalTo("email", request.params.email);
`
The text was updated successfully, but these errors were encountered: