New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Users cant solve challenge after changing to user mode #2522
Comments
Hmm I thought that when switching user mode via the Admin Panel it would remove users from their teams but it appears maybe not. How did you switch user mode? Via the Admin Panel? |
I see that in the original commit this just deleted submissions https://github.com/CTFd/CTFd/pull/1956/files. This would work in moving from users to teams but it doesn't work the other way around. When we switch teams to users we need to remove all users from teams. |
Switched user mode via the admin panel, yes.
So it is an issue with the way the teams and users are set up in relation to eachother, if im understanding this correctly? |
Environment:
What happened?
Some of our users was not able to submit correct flag to solve the challenge. This occurred for after we swapped to user mode for one of our events, our ctfd instance is usually in Team mode. We narrowed it down to being because the teams still exist, making some users unable to get a solve because they are in a "hidden" team where one of their team members already had solved the challenge.
What did you expect to happen?
Expected to be able to swap to user mode, and be able to have all users solve all challenges, so we dont have to create new teams and users every time we would like to swap mode.
How to reproduce your issue
Create a few users in the same team.
Swap to user mode.
Have one of the users solve a challenge.
Try to solve the same challenge with one of the other users.
Any associated stack traces or error logs
n/a
The text was updated successfully, but these errors were encountered: