mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
refac
This commit is contained in:
@@ -1648,7 +1648,7 @@ async def get_app_config(request: Request):
|
||||
else {}
|
||||
),
|
||||
}
|
||||
if user is not None
|
||||
if user is not None and (user.role in ["admin", "user"])
|
||||
else {
|
||||
**(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user