perf(auth): make password hashing non-blocking and batch CSV user import (#25804)

Co-authored-by: Tim Baek <tim@openwebui.com>
This commit is contained in:
G30andTim Baek authored and GitHub committed 2026-06-29 02:45:39 -05:00
1 parent 18e6a10778
commit 6fdf9b4340
5 files changed
+33 -17

No files matched your search

+1 -1
View File
@@ -642,7 +642,7 @@ async def update_user_by_id(
except Exception as e:
raise HTTPException(400, detail=str(e))
hashed = get_password_hash(form_data.password)
hashed = await get_password_hash(form_data.password)
await Auths.update_user_password_by_id(user_id, hashed, db=db)
# Build update dict from only the provided fields