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

Weak password message is not translated while the exception is raised

    Details

    • Complexity:
      Low

      Description

      In Openmrs we have a validate password method in OpenmrsUtil.javaIf password is empty or if it matches to username when the security.passwordCannotMatchUsername property is set to true we are raising a WeakPasswordException.
      In weak password exception we are not sending the translated message.
      so the response is returning as is.

      Please refer to the following link for more info
      https://talk.openmrs.org/t/weak-password-message-is-not-translated-in-the-response/9620

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkayiwa Daniel Kayiwa
                Reporter:
                pushpa446 pushpalatha d
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified