Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Adjust PASSWORD_MIN_LENGTH up to 8, from 6.

Alex Vandiverf51ad5eeb6d5
diff --git a/zproject/default_settings.py b/zproject/default_settings.py
index 75e6bcd9093..ce97310596e 100644
--- a/zproject/default_settings.py
+++ b/zproject/default_settings.py
@@ -240,7 +240,7 @@ INLINE_IMAGE_PREVIEW = True
INLINE_URL_EMBED_PREVIEW = True
NAME_CHANGES_DISABLED = False
AVATAR_CHANGES_DISABLED = False
-PASSWORD_MIN_LENGTH = 6
+PASSWORD_MIN_LENGTH = 8
PASSWORD_MAX_LENGTH = 100
PASSWORD_MIN_GUESSES = 10000
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index 33c4626da3b..3cc3846d535 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -811,7 +811,7 @@ SOCIAL_AUTH_SAML_SUPPORT_CONTACT = {
## Password strength requirements; learn about configuration at
## https://zulip.readthedocs.io/en/latest/production/securing-your-zulip-server.html.
-# PASSWORD_MIN_LENGTH = 6
+# PASSWORD_MIN_LENGTH = 8
# PASSWORD_MAX_LENGTH = 100
# PASSWORD_MIN_GUESSES = 10000