Flag to disable login UI and endpoints for credentialed auth (#3984)

* Flag to disable login UI and endpoints for credentialed auth

* dev build

* fix translation key
This commit is contained in:
Timothy Carambat
2025-06-11 12:46:40 -07:00
committed by GitHub
parent feadf1f0ff
commit 2055c8accd
14 changed files with 179 additions and 46 deletions

View File

@@ -279,6 +279,12 @@ const SystemSettings = {
// Disable View Chat History for the whole instance.
DisableViewChatHistory:
"DISABLE_VIEW_CHAT_HISTORY" in process.env || false,
// --------------------------------------------------------
// Simple SSO Settings
// --------------------------------------------------------
SimpleSSOEnabled: "SIMPLE_SSO_ENABLED" in process.env || false,
SimpleSSONoLogin: "SIMPLE_SSO_NO_LOGIN" in process.env || false,
};
},