open-webui/backend
Jeannot Damoiseaux d50098b622
Fix: Ensure user_oauth_groups defaults to an empty list to prevent TypeError
When the OAuth groups claim does not yield a list, `user_oauth_groups` was previously
set to None, causing a TypeError during membership checks. Changed this default to
an empty list (`[]`) to ensure the variable is always iterable, preventing errors
for non-admin users while logging in.

This fix ensures stability in the `update_user_groups` function.
2025-02-21 22:25:22 +01:00
..
data
open_webui Fix: Ensure user_oauth_groups defaults to an empty list to prevent TypeError 2025-02-21 22:25:22 +01:00
.dockerignore
.gitignore
dev.sh
requirements.txt build(deps): bump the pip group across 2 directories with 1 update 2025-02-20 10:02:35 +00:00
start_windows.bat refac: RAG_WEB_LOADER -> RAG_WEB_LOADER_ENGINE 2025-02-17 21:43:32 -06:00
start.sh refac: RAG_WEB_LOADER -> RAG_WEB_LOADER_ENGINE 2025-02-17 21:43:32 -06:00