mkhorasani / Streamlit-Authenticator

A secure authentication module to validate user credentials in a Streamlit application.
Apache License 2.0
1.37k stars 229 forks source link

To force user to use stonger password when they register #153

Open scutccli opened 2 months ago

scutccli commented 2 months ago

Currently, it seems not so safe because user is able to key in anything as password. It is better force user to use strong password such as: (1) Must be more than 8 digits (2) Include at least one symbol (3) In clude at least one upper case and lower case letter and number. Maybe can consider this in next update.

mkhorasani commented 2 months ago

Hi @scutccli, this is a great idea. I will add a validate_password method to the validator class, and also leave it open to the developer to specify their own validations for a future release.

scutccli commented 2 months ago

Hi @mkhorasani, that's great! Thanks