MCPcopy Create free account
hub / github.com/parse-community/parse-server / updateUserPassword

Function updateUserPassword

src/Controllers/UserController.js:358–370  ·  view source on GitHub ↗
(user, password, config)

Source from the content-addressed store, hash-verified

356
357// Mark this private
358function updateUserPassword(user, password, config) {
359 return rest
360 .update(
361 config,
362 Auth.master(config),
363 '_User',
364 { objectId: user.objectId, _perishable_token: user._perishable_token },
365 {
366 password: password,
367 }
368 )
369 .then(() => user);
370}
371
372function buildEmailLink(destination, token, config) {
373 token = `token=${token}`;

Callers 1

updatePasswordMethod · 0.85

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…