mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
this commit adds an optional environment variable named `WEBUI_AUTH_TRUSTED_NAME_HEADER`, which sets the user's name to the contents of that header. this only happens if the user is just being created, just like how the trusted e-mail header works. if the environment variable or header is not present, we fall back to the original behavior which is to re-use the user e-mail address. Co-Authored-By: Nikita Borzykh <sample@fastmail.com> |
||
|---|---|---|
| .. | ||
| auths.py | ||
| chats.py | ||
| configs.py | ||
| documents.py | ||
| memories.py | ||
| models.py | ||
| prompts.py | ||
| tools.py | ||
| users.py | ||
| utils.py | ||