bigcommerce / checkout-js

Optimized One-Page Checkout
MIT License
114 stars 354 forks source link

fix(customer): CHECKOUT-8559 Remove string override for customer password validation error #1978

Closed animesh1987 closed 2 weeks ago

animesh1987 commented 2 weeks ago

What?

Remove string override for regex validation

Why?

We return the correct translated message as part of password requirements from checkout settings API, and the translation in checkout app can be incorrect so it's better to use API message. Merchants can still override theme files.

Testing / Proof

Screenshot 2024-08-27 at 3 39 19 PM

@bigcommerce/team-checkout