fix: group token cannot be one-time only

This commit is contained in:
julius 2025-03-27 08:04:41 +01:00
parent 43f9b0d47c
commit 77d292974c
Signed by: julius
GPG Key ID: C80A63E6A5FD7092

View File

@ -382,7 +382,7 @@ async def register(req: RegisterRequest):
)
session.add(new_player)
session.commit()
invalidate_one_time_token(req.token)
# invalidate_one_time_token(req.token)
return PlainTextResponse(f"added {new_player.display_name}")