feat: Update endpoint signup
This commit is contained in:
parent
817e3afc48
commit
d41a8ca4bc
@ -45,6 +45,6 @@ async def signup(
|
|||||||
# Return token directly after registration
|
# Return token directly after registration
|
||||||
return {
|
return {
|
||||||
"message": "User created successfully",
|
"message": "User created successfully",
|
||||||
"access_token": create_access_token({"sub": new_user.id, "email": new_user.email}),
|
"access_token": create_access_token({"sub": new_user.id}),
|
||||||
"token_type": "bearer"
|
"token_type": "bearer"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user