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:
1 parent
18e6a10778
commit
6fdf9b4340
5 files changed
+33
-17
No files matched your search
@@ -1871,7 +1871,7 @@ class OAuthManager:
|
||||
|
||||
user = await Auths.insert_new_auth(
|
||||
email=email,
|
||||
password=get_password_hash(str(uuid.uuid4())), # Random password, not used
|
||||
password=await get_password_hash(str(uuid.uuid4())), # Random password, not used
|
||||
name=name,
|
||||
profile_image_url=picture_url,
|
||||
role=await self.get_user_role(None, user_data),
|
||||
|
||||
Reference in new issue
Block a user