(fix) use UI USERNAME

This commit is contained in:
ishaan-jaff 2024-02-21 13:35:06 -08:00
parent 6a7250a84c
commit 62b415a7d5

View file

@ -5028,7 +5028,7 @@ async def login(request: Request):
"user_id": "litellm-dashboard", "user_id": "litellm-dashboard",
} }
key = response["token"] # type: ignore key = response["token"] # type: ignore
litellm_dashboard_ui = os.getenv("PROXY_BASE_URL", "/") + "ui/" litellm_dashboard_ui = os.getenv("PROXY_BASE_URL", "") + "/ui/"
import jwt import jwt
jwt_token = jwt.encode( jwt_token = jwt.encode(