When using validation messages, from where the dynamic message flows
Validation Message2 shows “Invalid User Name and Password”. From where the dynamic message comes
These can come from two different sources:
Project→ System texts
For the login page in application it can come from : Go to your project folder and navigate to deployment → web → js → login_i18n file. You need to run the application at least once to see the deployment folder.