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

Function triggerPasswordReset

test/user.test.js:3190–3196  ·  view source on GitHub ↗
(email)

Source from the content-addressed store, hash-verified

3188 });
3189
3190 function triggerPasswordReset(email) {
3191 return Promise.all([
3192 User.resetPassword({email: email}),
3193 waitForEvent(User, 'resetPasswordRequest'),
3194 ])
3195 .spread((reset, info) => info);
3196 }
3197});

Callers 1

user.test.jsFile · 0.70

Calls 1

waitForEventFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…