Fix bug repassword when password is requiredIf