Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-14501

Reset selfservice stage is checking mail attribute and not identityEmailField

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 5.0.1.2, 7.0.0, OpenIDM 5.5.1.2, 6.0.0.5, 6.5.0.2
    • Fix Version/s: 7.0.0
    • Component/s: Module - SelfService

      Description

      When checking https://bugster.forgerock.org/jira/browse/OPENIDM-12359 I noticed that values are not correctly comparing same attributes.

      If admin changes identityEmailField to different attribute than mail, it is still compared to mail attribute value

      https://stash.forgerock.org/projects/OPENIDM/repos/openidm/browse/openidm-selfservice/src/main/java/org/forgerock/openidm/selfservice/stage/PasswordResetStage.java#74

      To fix this issue, I think EMAIL_FIELD should be changed to config.getIdentityEmailField() to compare same attributes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                krismy.alfaro Krismy Alfaro
                Reporter:
                michal.orlik@profiq.cz Michal Orlik
                QA Assignee:
                Jon Branch
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: