You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(checkout): add form_has_auto_generate_password() and strip JS password rules (#742)
Add protected form_has_auto_generate_password() method to the Checkout
class that iterates form settings to detect password fields with
auto_generate_password enabled.
Use this method in get_js_validation_rules() to unset the password,
password_conf, and valid_password rules when auto-generate is active,
preventing the JS validator from blocking submission on a field that
is never rendered.
Closes#741
0 commit comments