feat: Update endpoint signup

This commit is contained in:
Backend IM Bot 2025-04-30 12:33:37 +00:00
parent 817e3afc48
commit d41a8ca4bc

View File

@ -45,6 +45,6 @@ async def signup(
# Return token directly after registration
return {
"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"
}