From 961f52002008af78349cdacffd3968291e8ac6dc Mon Sep 17 00:00:00 2001 From: david-hummingbot <85695272+david-hummingbot@users.noreply.github.com> Date: Fri, 26 Jul 2024 21:49:00 +0800 Subject: [PATCH] update CONFIG.py The AUTH_SYSTEM_ENABLED environment variable set in the Deploy Docker Compose file was not being picked up by the config.py file. Made changes so that the environment variable is picked up --- CONFIG.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONFIG.py b/CONFIG.py index 5a774d5..bd702cb 100644 --- a/CONFIG.py +++ b/CONFIG.py @@ -17,7 +17,7 @@ CERTIFIED_EXCHANGES = ["ascendex", "binance", "bybit", "gate.io", "hitbtc", "huobi", "kucoin", "okx", "gateway"] CERTIFIED_STRATEGIES = ["xemm", "cross exchange market making", "pmm", "pure market making"] -AUTH_SYSTEM_ENABLED = os.getenv("AUTH_SYSTEM_ENABLED", False) +AUTH_SYSTEM_ENABLED = os.getenv("AUTH_SYSTEM_ENABLED", "False").lower() in ("true", "1", "t") BACKEND_API_HOST = os.getenv("BACKEND_API_HOST", "127.0.0.1") BACKEND_API_PORT = os.getenv("BACKEND_API_PORT", 8000)