ctftime.org icon indicating copy to clipboard operation
ctftime.org copied to clipboard

Bug: Able to re-join a team you’re already a member of

Open ibrahimesseddyq opened this issue 4 months ago • 0 comments

Description: When attempting to join a team using its invite code, a user who is already a member of that team is allowed to join again.

Expected behavior: If the user is already part of the team, the system should display a message like:

"You are already a member of this team."

Actual behavior: The system lets the user re-join their own team instead of preventing the action.

Steps to reproduce:

  • Join a team using an invite code.

  • While already a member, attempt to join the same team again using the invite code.

  • Observe that the system allows re-joining.

If no one is available to fix this, I’d be happy to work on a patch.

ibrahimesseddyq avatar Sep 27 '25 06:09 ibrahimesseddyq