POLIMI-FER-codebenders / tournament_app

Tournament app for Code Defenders made by student team of POLIMI and FER students
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Joining OPEN teams while already in the "other" team does not alert user that it would kick him from his team and join new one #73

Closed DominikBrdar closed 1 year ago

DominikBrdar commented 1 year ago

Maybe this shouldn't even be possible; because leader of the team can leave his team by doing this, then the team would have no leader and it would be useless, also this team would not get deleted even if it was empty.

DominikBrdar commented 1 year ago

Solution: refuse joining other team if user is already leader of the team-> backend fix /api/team/join