loopback icon indicating copy to clipboard operation
loopback copied to clipboard

User.resetPassword for different REALM

Open chojowliu opened this issue 10 years ago • 6 comments

Bug or feature request

  • [ ] Bug
  • [x ] Feature request

Description of feature (or steps to reproduce if bug)

Currently, when I do User.resetPassword(email)), it will only return the first record of the match email and return the token, but it's not support to different realm with same email address.

Link to sample repo to reproduce issue (if bug)

Expected result

Support different realm.

Actual result (if bug)

Additional information (Node.js version, LoopBack version, etc)

chojowliu avatar Oct 17 '16 19:10 chojowliu

@chojowliu I've created a fix for this in the PR referenced above. Feel free to try my fix to see if it works for you.

beeman avatar Nov 24 '16 00:11 beeman

What about 3.x fix

Monstrik avatar Jan 05 '17 17:01 Monstrik

@Monstrik the fix for 3.x just landed in master

beeman avatar Jan 05 '17 17:01 beeman

Thanks

Monstrik avatar Jan 05 '17 17:01 Monstrik

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 23 '17 14:08 stale[bot]

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

stale[bot] avatar Sep 06 '17 14:09 stale[bot]