Closed
Description
Why the field resetPasswordCode
become empty on save but the password
cause Object not found error
user.set('resetPasswordCode', '');
user.setPassword(request.params.password);
return user.save(null, { useMasterKey: true });
Anyone can help me or can point me how to fix this bug ?
Or what is the best way to update password user in cloud code ?
if i comment this line, everything Is working perfectly.
Metadata
Metadata
Assignees
Labels
No labels