Wrong Error message displaying on password change window
I created a password validation routine for the management portal, which is called from the System-wide Security Parameters.
The validation process works correctly, but the error message that is displayed to the user when the entered password fails validation, consists of two separate error codes and messages
I see the following message when I click on my User at the top of the Management Portal screen (which then opens the popup window), to change my password and enter an invalid password:
ERROR #1446: Password change failed ERROR #5001: Password must contain at least one upper-case character
When I use the typical route, where an user is required to change password on next login after x amount of days, the Management Portal directs you to a separate page. I use the exact same invalid password, but only see the following message:
ERROR #1446: Password change failed
I construct my errors in the routine class with code:
Has anyone else experienced anything like this before or have an alternative solution?