Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiple env variables to provide an easy way to set password policies for new users #156

Merged
merged 4 commits into from
Jun 12, 2023

Conversation

Y0ngg4n
Copy link

@Y0ngg4n Y0ngg4n commented Jun 9, 2023

This PR adds the following environment variables:

- MIN_PASSWORD_LENGTH=8 # Minimum password length required for new users (default: 8)
- MAX_PASSWORD_LENGTH=20 # Maximum password length for new users (default: 20)
- MIN_PASSWORD_UPPERCASE=1 # Minimum password chars that are uppercase (default: 1)
- MIN_PASSWORD_NUMBERS=1 # Minimum password chars that are numbers (default: 1)
- MIN_PASSWORD_SPECIAL=0 # Minimum password chars that are special (default: 0)   

with this environment variables the admin can define the password policy via environment variables to provide an easy way to set minimum requirements for the passwords for new users.

@mtthidoteu mtthidoteu merged commit a730344 into wizarrrr:master Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants