MCPcopy Index your code
hub / github.com/strongloop/loopback / triggerPasswordReset

Function triggerPasswordReset

test/user.integration.js:343–350  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

341 });
342
343 function triggerPasswordReset(email) {
344 const User = app.models.User;
345 return Promise.all([
346 User.resetPassword({email: email}),
347 waitForEvent(app.models.User, 'resetPasswordRequest'),
348 ])
349 .spread((reset, info) => info);
350 }
351});

Callers 1

Calls 1

waitForEventFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…