View Single Post
  #2  
Old 12-19-2024, 05:35 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to replace error message "Password must be between 8 and 64 characters long"

You will have to have a custom module and decorate the class overriding the method that adds this error message with your own. In your own method you can use language variable or hardcode the message as they did.


As for finding all message that are not labels - you can't really do this unless you inspect every file manually - you can search all the files for say "addErrorMessage" or whatever the method setting the message is, as it can be error or warning or success... And again you have to use custom module to make the changes
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote