mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
When using trusted email header authentication, verify that the logged-in user's email matches the value in the header. This prevents session conflicts when the OAuth server changes the authenticated user. - Move trusted email verification after user existence check - Raise 401 if email mismatch is detected - Only perform verification when WEBUI_AUTH_TRUSTED_EMAIL_HEADER is enabled |
||
---|---|---|
.. | ||
images | ||
telemetry | ||
access_control.py | ||
audit.py | ||
auth.py | ||
chat.py | ||
code_interpreter.py | ||
filter.py | ||
logger.py | ||
middleware.py | ||
misc.py | ||
models.py | ||
oauth.py | ||
payload.py | ||
pdf_generator.py | ||
plugin.py | ||
redis.py | ||
response.py | ||
security_headers.py | ||
task.py | ||
tools.py | ||
webhook.py |