mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
(fix) use UI USERNAME
This commit is contained in:
parent
6a7250a84c
commit
62b415a7d5
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue