-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow password reset request for users in realms (v3.x) #2998
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow password reset request for users in realms (v3.x) #2998
Conversation
|
Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test." |
|
Can one of the admins verify this patch? |
3 similar comments
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
|
Can one of the admins verify this patch? |
ebde81e to
a011147
Compare
|
@slnode okay to test |
a011147 to
24e6e12
Compare
|
I'll rebase this on master once #2992 lands as it touches the code in the sample places. |
24e6e12 to
cddfb9c
Compare
|
@bajtos done :) |
|
@slnode ok to test |
|
looks like dependant strong-nginx-controller — Failed! (cddfb9c) [sl-ci-run INFO 114.27 ]: Stripping ANSI escape codes from tests.tap...
[sl-ci-run INFO 114.39 ]: Tests passed.
[sl-ci-run INFO 114.39 ]: *************** BUILD FRAMEWORK REPORT CARD ****************
[sl-ci-run INFO 114.39 ]: ** Sanity checks : pass [required]
[sl-ci-run INFO 114.39 ]: ** Install dependencies : pass [required]
[sl-ci-run INFO 114.39 ]: ** Linter : pass [optional]
[sl-ci-run INFO 114.39 ]: ** Generate artifacts : pass [required]
[sl-ci-run INFO 114.39 ]: ** Run tests : pass [required]
[sl-ci-run INFO 114.39 ]: ** Coverage report : pass [optional]
[sl-ci-run INFO 114.39 ]: *************** BUILD FRAMEWORK REPORT CARD ****************
[89d66e82] $ rm -rf $BUILD_FRAMEWORK_ROOT $BUILD_FRAMEWORK_TMPDIR
Set build name.
New build name is '#2672 (origin/master)'
Variable with name 'BUILD_DISPLAY_NAME' already exists, current value: '#2672 (origin/master)', new value: '#2672 (origin/master)'
[PostBuildScript] - Execution post build scripts.
[89d66e82] $ rm -rf $BUILD_FRAMEWORK_ROOT $BUILD_FRAMEWORK_TMPDIR
Archiving artifacts
[Cobertura] Publishing Cobertura coverage report...
Publishing Cobertura coverage results...
Cobertura coverage report found.
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing JUnit
[xUnit] [INFO] - [JUnit] - No test report file(s) were found with the pattern '**/*xunit.xml' relative to '/mnt/jenkins/workspace/strong-nginx-controller/89d66e82' for the testing framework 'JUnit'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'JUnit'?
[xUnit] [WARNING] - No test reports found for the metric 'JUnit' with the resolved pattern '**/*xunit.xml'.
[xUnit] [INFO] - Skipping the metric tool processing.
[xUnit] [INFO] - There are errors when processing test results.
[xUnit] [INFO] - Skipping tests recording.
TAP Reports Processing: START
Looking for TAP results report in workspace using pattern: *.tap,*/*.tap
Saving reports...
Processing '/var/lib/jenkins/jobs/strong-nginx-controller/configurations/axis-label/amazon-0.10/builds/2672/tap-master-files/tests.tap'
Parsing TAP test result [/var/lib/jenkins/jobs/strong-nginx-controller/configurations/axis-label/amazon-0.10/builds/2672/tap-master-files/tests.tap].
TAP Reports Processing: FINISH
[Set GitHub commit status (universal)] SUCCESS on repos [GHRepository@3525cebf[description=Nginx controller for Arc,homepage=,name=strong-nginx-controller,license=<null>,fork=false,size=82,milestones={},language=JavaScript,commits={},source=<null>,parent=<null>,url=https://api.github.com/repos/strongloop/strong-nginx-controller,id=29508328]] (sha:c4becda) with context:strong-nginx-controller/label=amazon-0.10
Setting commit status on GitHub for https://github.com/strongloop/strong-nginx-controller/commit/c4becda4f9687225925b3b013eac9231072037c9
ERROR: [GitHub Commit Status Setter] - {"message":"Validation Failed","errors":[{"resource":"Status","code":"custom","message":"This SHA and context has reached the maximum number of statuses."}],"documentation_url":"https://developer.github.com/v3/repos/statuses/#create-a-status"}, setting build result to FAILURE
Build step 'Set build status on GitHub commit [deprecated]' changed build result to FAILURE |
|
@slnode test please |
|
I need this merge please |
|
connector-soap and swagger seems to never pass on |
|
When it will be updated in npm repository? |
Description
Currently the User.resetPassword method only accepts an email address as a parameter.
When you have a LoopBack application that partitions the users in Realms you need to find the user based on it's email address + realm, because it allows for 2 users with the same email address.
This PR fixes the issue by adding support for an optional realm property, that will enhance the filter used in the findOne method.
Related issues
The issue fixed in this PR
#2866
PR for v2.x:
#2980
Checklist