How can I change default user for login ?
In cuba was application.properties
#cuba.web.loginDialogDefaultUser=xxx
#cuba.web.loginDialogDefaultPassword=ccc
Or better how to disable it in production ?
How can I change default user for login ?
In cuba was application.properties
#cuba.web.loginDialogDefaultUser=xxx
#cuba.web.loginDialogDefaultPassword=ccc
Or better how to disable it in production ?
Hello!
For now, you can only manually set these values in your LoginScreen controller. I created an issue to support default login credentials in the LoginScreen: Haulmont/jmix-templates#16
Has any improvement been made that will allow us to set the login values in development vs production ?
UiLoginProperties contains default username and password properties that are used in the LoginScreen since 1.0 version.
See LoginScreen#initDefaultCredentials() method.
You can set <disabled> value to keep fields empty:
jmix.ui.login.default-username=<disabled>
jmix.ui.login.default-password=<disabled>