From 53d0930ea421802c0efcd00c82ba6ec4760a0fc0 Mon Sep 17 00:00:00 2001 From: Dillon Date: Tue, 23 Jul 2024 22:59:14 -0400 Subject: [PATCH 1/2] added new ENABLE_USERNAME_PASSWORD_LOGIN env variable information --- docs/getting-started/env-configuration.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 52a2d95..158d004 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -60,6 +60,12 @@ Here is a list of supported environment variables used by `backend/config.py` in - Default: `True` - Description: Toggles user account creation. +### `ENABLE_USERNAME_PASSWORD_LOGIN` + +- Default: `True` +- Description: Toggles email, password, sign in and "or" (only when `ENABLE_OAUTH_SIGNUP` is set to true) elements. +- **Important Note:** This should **only** ever be set to `False` when [ENABLE_OAUTH_SIGNUP](https://docs.openwebui.com/getting-started/env-configuration#enable_oauth_signup) is also being used and set to `True`. Failure to do so will result in the inability to login. + #### `ENABLE_RAG_WEB_LOADER_SSL_VERIFICATION` - Default: `True` From 784697e11c8cb61f5ba7840e0be3e42659709b74 Mon Sep 17 00:00:00 2001 From: Dillon Date: Wed, 24 Jul 2024 21:48:20 -0400 Subject: [PATCH 2/2] updated env var to ENABLE_LOGIN_FORM from ENABLE_USERNAME_PASSWORD_LOGIN --- docs/getting-started/env-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 158d004..a53f601 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -60,7 +60,7 @@ Here is a list of supported environment variables used by `backend/config.py` in - Default: `True` - Description: Toggles user account creation. -### `ENABLE_USERNAME_PASSWORD_LOGIN` +### `ENABLE_LOGIN_FORM` - Default: `True` - Description: Toggles email, password, sign in and "or" (only when `ENABLE_OAUTH_SIGNUP` is set to true) elements.