Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3779

User secret answer should be required if the question is set

    Details

    • Complexity:
      Low

      Description

      Currently, if a user sets a secret question, the secret answer is not enforced to be required. Also if the question is cleared, the answer isn't cleared, this is not correct.
      The correct behavior should be that when the user sets the question, the answer should be required and if it is cleared, the answer should get cleared.
      It is good to write unit tests to prove that these conditions are not currently met and go ahead to fix them.

      See UserFormController and ChangePassworFormController

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  shubh Shubham Rai
                  Reporter:
                  wyclif Wyclif Luyima
                  Watchers:
                  Ashish Kumar, Daniel Kayiwa, Dedunu Dhananjaya, James Arbaugh, Kaweesi Joseph, Meghna DSouza, Sacheth Gupta, Shubham Rai, Wyclif Luyima
                  Designated Committer:
                  Rafal Korytkowski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 3 hours
                    3h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour Time Not Required
                    1h