feat: support webui_auth false

#929
This commit is contained in:
Timothy J. Baek
2024-05-08 08:40:18 -07:00
parent 0d633c0d17
commit 01472c071b
5 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -413,7 +413,7 @@ WEBUI_VERSION = os.environ.get("WEBUI_VERSION", "v1.0.0-alpha.100")
# WEBUI_AUTH (Required for security)
####################################
WEBUI_AUTH = True
WEBUI_AUTH = os.environ.get("WEBUI_AUTH", "True").lower() == "true"
WEBUI_AUTH_TRUSTED_EMAIL_HEADER = os.environ.get(
"WEBUI_AUTH_TRUSTED_EMAIL_HEADER", None
)