User.resetPassword for different REALM
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 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.
What about 3.x fix
@Monstrik the fix for 3.x just landed in master
Thanks
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.
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.