mirror of
https://github.com/open-webui/open-webui
synced 2025-03-04 19:38:54 +00:00
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. |
||
---|---|---|
.. | ||
data | ||
open_webui | ||
.dockerignore | ||
.gitignore | ||
dev.sh | ||
requirements.txt | ||
start_windows.bat | ||
start.sh |