Validation in Duplication of Username in Password

Hello. I am new in SuiteCRM. I would like to ask a help about validation in user creation.

Here is the logic of the validation: The creation of the user will not proceed if the username and password is the same.

Hope you can help me with this.

Hi,
alternatively, you can increase the password difficulty within the admin settings:

this is maybe an easier approach than modifying the user registration.

Thanks. I already solved this one. I used before_save logic hook to match-validate.