Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/getting-started/env-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,29 @@ Failure to set WEBUI_URL before using OAuth/SSO will result in failure to log in
- Default: `False`
- Description: If set to True, a "Confirm Password" field is added to the sign-up page to help users avoid typos when creating their password.


#### `ENABLE_ENFORCE_PASSWORD_POLICY`

- Type: `bool`
- Default: `False`
- Description: Enforces a password policy when users sign up, change their password, or are managed via the API.When enabled, passwords must contain at least one uppercase letter, one lowercase letter, one digit, and one special symbol. The minimum length and the set of allowed symbols can be configured using `USER_PASSWORD_MIN_LENGTH` and `USER_PASSWORD_POLICY_SYMBOLS` respectively.
- Persistence: This environment variable is a `PersistentConfig` variable.

#### `USER_PASSWORD_MIN_LENGTH`

- Type: `int`
- Default: `12`
- Description: Sets the minimum required password length when `ENABLE_ENFORCE_PASSWORD_POLICY` is active.
- Persistence: This environment variable is a `PersistentConfig` variable.

#### `USER_PASSWORD_POLICY_SYMBOLS`

- Type: `str`
- Default: `!@#$%^&*`
- Description: Defines the set of special characters from which at least one must be included in the password when `ENABLE_ENFORCE_PASSWORD_POLICY` is active.
- Persistence: This environment variable is a `PersistentConfig` variable.


#### `ENABLE_LOGIN_FORM`

- Type: `bool`
Expand Down