feat: Update endpoint signup

This commit is contained in:
Backend IM Bot 2025-04-30 12:11:38 +00:00
parent 5a08a681b6
commit 817e3afc48

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}),
"access_token": create_access_token({"sub": new_user.id, "email": new_user.email}),
"token_type": "bearer"
}