Set a password policy
Last updated
Last updated
This template includes a built-in password check UI during sign up.
To activate this feature, please go to your Bubble editor and go to Settings > General and update these settings:
Check the box for Define a password policy
Enter 5 for the Password minimum length
Check the box for Require a number
If you want to modify the password policy (e.g. require a capital letter or change the minimum password length), you would have to update the password check logic on the signup/login reusable element. This logic also needs updated on the reset_pw
page. Below are a set of screenshots that show specifically how to do this.
The icon on the login inputs and the icon's group also need to be updated. This is the reset_pw
page.
Remember to change the conditions of "Button CONTINUE" as well.
In order to require special characters or capital letters in the password, you'll need to edit the Regex conditions found in these groups and in the UI of the focus group which lists the password requirements. That is beyond the scope of this guide.