forked from phoenix/litellm-mirror
refactor(team_endpoints.py): refactor auth checks for team member endpoints to ui team admin to manage it
This commit is contained in:
parent
19083a4d31
commit
a61f3e7656
5 changed files with 72 additions and 39 deletions
|
@ -849,7 +849,7 @@ async def generate_key_helper_fn(
|
|||
}
|
||||
|
||||
if (
|
||||
litellm.get_secret("DISABLE_KEY_NAME", False) == True
|
||||
litellm.get_secret("DISABLE_KEY_NAME", False) is True
|
||||
): # allow user to disable storing abbreviated key name (shown in UI, to help figure out which key spent how much)
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue