fix: left out saving the password hash
This commit is contained in:
parent
77d292974c
commit
a6d0f528d0
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user