forked from open-webui/open-webui
feat: api endpoint to receive profile_image_uirl on signup
This commit is contained in:
parent
6bb299ae25
commit
8d1db9a1c0
3 changed files with 7 additions and 6 deletions
|
@ -146,7 +146,7 @@ async def signup(request: Request, form_data: SignupForm):
|
|||
)
|
||||
hashed = get_password_hash(form_data.password)
|
||||
user = Auths.insert_new_auth(
|
||||
form_data.email.lower(), hashed, form_data.name, role
|
||||
form_data.email.lower(), hashed, form_data.name, form_data.profile_image_url, role
|
||||
)
|
||||
|
||||
if user:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue