From a70405fd6ddaa656e21b1104e6a963e7a7410bdf Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Wed, 24 Sep 2025 07:26:58 -0400 Subject: [PATCH] feat: add MIN_PASSWORD_LENGTH variable for user authentication configuration --- pages/docs/configuration/dotenv.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/docs/configuration/dotenv.mdx b/pages/docs/configuration/dotenv.mdx index 22bdb8d..83ff8c9 100644 --- a/pages/docs/configuration/dotenv.mdx +++ b/pages/docs/configuration/dotenv.mdx @@ -992,6 +992,7 @@ All authentication settings in this section should be configured in your `.env` ['ALLOW_PASSWORD_RESET', 'boolean', 'Enable or disable the ability for users to reset their password by themselves','ALLOW_PASSWORD_RESET=false'], ['ALLOW_ACCOUNT_DELETION', 'boolean', 'Enable or disable the ability for users to delete their account by themselves. Enabled by default if omitted/commented out','ALLOW_ACCOUNT_DELETION=true'], ['ALLOW_UNVERIFIED_EMAIL_LOGIN', 'boolean', 'Set to true to allow users to log in without verifying their email address. If set to false, users will be required to verify their email before logging in.', 'ALLOW_UNVERIFIED_EMAIL_LOGIN=true'], + ['MIN_PASSWORD_LENGTH', 'number', 'Minimum password length for user authentication. When using LDAP authentication, you may want to set this to 1 to bypass local password validation, as LDAP servers handle their own password policies.', 'MIN_PASSWORD_LENGTH=8'], ]} />