7 Replies Latest reply on Jun 13, 2018 8:11 AM by johng23

    Password policy with error message

    johng23

      I would like to add a password policy with a descriptive error message in AEM 6.2.

       

      So far, I've tried using the AuthorizableActionProvider which works to control password creation/change but the error message when a new password fails validation is hardcoded and not friendly or helpful ("ERROR: Something went wrong while changing the user's password").

       

      I then tried using a Client Library using JavaScript as described here but it does not work, possibly because this was written for 6.1 and the forms nodes changed.

       

      Any pointers would be much appreciated.