I am trying to implement two way to reinitialize a user password in a JS application using Parse.
Since I'll need a way to directly set the password, I searched Parse.User documentation for a function to update the password field, hoping to know if I am supposed to hash it myself, and how I should use it.
Unfortunately, the official documentation is quite unhelpful:
Boolean setPassword( password, options )
Callsand returns the result.
set("password", password, options)
A Backbone-style options object.
After trying and testing, I can conclude that:
setPassword()is just a shortcur of