feat: Update endpoint signup
This commit is contained in:
parent
70fc600d0b
commit
705a68ddee
@ -18,7 +18,7 @@ async def signup(
|
|||||||
if db_user:
|
if db_user:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
status_code=status.HTTP_400_BAD_REQUEST,
|
status_code=status.HTTP_400_BAD_REQUEST,
|
||||||
detail="Email already registered"
|
detail="Email already exists"
|
||||||
)
|
)
|
||||||
|
|
||||||
hashed_password = get_password_hash(user_data.password)
|
hashed_password = get_password_hash(user_data.password)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user