CUBA Platform : Password_encryption field value is not updated with bcrypt while Updating the password from UI for Legacy Migrated Hashes

We have migrated our legacy passwords to new CUBA based system. As stated in documentation updated the property **cuba.legacyPasswordEncryptionModule = Our encryption module **and left password_encryption field value blank in SEC_USER table.

We have found that while changing the password SEC_USER table password field updated with bcrypt hash but password_encryption field value still blank.

Due to this user is unable to login.

Please help to resolve this.

Take a look at the code: com.haulmont.cuba.security.app.UserManagementServiceBean#changeUserPassword

The “password_encryption” field is filled from the EncryptionModule.getHashMethod() return value.

Issue resolved, thanks.