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