mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-09 06:23:55 +08:00
fix: audit
This commit is contained in:
parent
21f3411692
commit
dba86bc980
@ -194,7 +194,7 @@ class AuditLoggingMiddleware:
|
||||
auth_header = request.headers.get("Authorization")
|
||||
|
||||
try:
|
||||
user = get_current_user(
|
||||
user = await get_current_user(
|
||||
request, None, None, get_http_authorization_cred(auth_header)
|
||||
)
|
||||
return user
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user