Skip to content

Fix error on the sign up page with disabled password requirements FF and visible admin requirements

The following discussion from !173725 (merged) should be addressed:

  • @JeremyWuuuuu started a discussion: (+1 comment)

    A question here @syarynovskyi, sorry for bothering, I am experiencing this issue right now when the FF was not turned on, meaning that USER_INFO cannot be found within the ruleset, here this.findRule(USER_INFO) would be returning undefined back to checkValidity, which will cause error.

    CleanShot_2024-12-17_at_14.12.45_2x

    In this file, the validity checking logic is bound to this.form.elements.new_user_[] instead of the feature flag, which went wrong when we keep the FF off.