mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix(proxy_settings_endpoints.py): fix clearing SSO settings
This commit is contained in:
parent
1b7f7ba643
commit
3359464624
1 changed files with 1 additions and 1 deletions
|
|
@ -480,7 +480,7 @@ async def update_sso_settings(sso_config: SSOConfig):
|
|||
elif field_name == "ui_access_mode" and value is not None:
|
||||
|
||||
config["general_settings"]["ui_access_mode"] = value
|
||||
elif field_name in env_var_mapping and value is not None and len(value) > 0:
|
||||
elif field_name in env_var_mapping and value is not None:
|
||||
env_var_name = env_var_mapping[field_name]
|
||||
# Update in config
|
||||
config["environment_variables"][env_var_name] = value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue