fix: left out saving the password hash

This commit is contained in:
julius 2025-03-27 16:17:19 +01:00
parent 77d292974c
commit a6d0f528d0
Signed by: julius
GPG Key ID: C80A63E6A5FD7092

View File

@ -374,6 +374,7 @@ async def register(req: RegisterRequest):
team = session.exec(select(Team).where(Team.id == team_id)).one()
new_player = Player(
username=req.username,
hashed_password=get_password_hash(req.password),
display_name=req.display_name,
email=req.email if req.email else None,
number=req.number,