Change password Dialog

Hello, there is a way to custom the Change password Dialog? My user registration page is customized to add a quality password indicator. But when the user forgot the password an email with a temporary password is send and when the user log in a change password dialog window appears, It’s this dialog box I want to customize to add a quality indicator. Also There is a standard way to add criterias on password quality (length min, signs, uppercase,…) Thanks

Hi,

You need to extend existing password screens, e.g.:

image

Below the list of existing password screens that you may want to extend:

<screen id="sec$User.changePassword"
            template="/com/haulmont/cuba/gui/app/security/user/changepassw/change-password-dialog.xml"/>

<screen id="sec$User.resetPasswords"
		template="/com/haulmont/cuba/gui/app/security/user/resetpasswords/reset-passwords.xml"/>

<screen id="sec$User.newPasswords"
		template="/com/haulmont/cuba/gui/app/security/user/resetpasswords/new-passwords-list.xml"/>

Regards,
Gleb

Thanks

I am receiving a error when saying that a ‘Legacy screen can only be extended with another legacy screen’

Hi,

Take a look at this answer.

1 Like

thank you