How to change Login page alert message

I have to change login page alert messagelogin


This message is defined in the main message pack of gui module (com/haulmont/cuba/gui/ with the loginWindow.loginFailed message key.


Thank You, But I want to change this “Unknown login namelogin

This message defined by the LoginException.InvalidLoginOrPassword key.

Hint: You can use global search to find message keys and their location by the message they represent.


I changed in main message pack but it is not get changed

Have you tried other locations from the screenshot above?

We change the error message it not workinglogin%20page

This particular message key must be located in within package of the core module.

You can investigate such things by finding usages of particular message key. Some keys loaded from main message pack, some from certain places, like the message key above.


Kindly share the code, which screenshot already shared by you…

The screenshot with the code above is from CUBA Platform sources and shows the example of using the LoginException.InvalidLoginOrPassword key and clarifies why must be located under package. I posted that screenshot just as an example and you can find this code (and all the others) by searching usages of the LoginException.InvalidLoginOrPassword key.

Hi Suresh,

Where you able to solve this case?
We already tried everything but still the message does not get updated.

We tried adding a new on the core module under



1 Like