(fix) ui - if user logged in set allow_user_auth: True

This commit is contained in:
ishaan-jaff 2024-01-31 15:53:49 -08:00
parent d554597454
commit a970fd8069
2 changed files with 3 additions and 1 deletions

View file

@ -3171,6 +3171,9 @@ async def auth_callback(request: Request):
+ "&proxyBaseUrl="
+ os.getenv("PROXY_BASE_URL")
)
# if a user has logged in they should be allowed to create keys - this ensures that it's set to True
general_settings["allow_user_auth"] = True
return RedirectResponse(url=litellm_dashboard_ui)