moloch-- / RootTheBox

A Game of Hackers (CTF Scoreboard & Game Manager)
http://root-the-box.com/
Apache License 2.0
915 stars 292 forks source link

When deleting a player, it's not cleared from DB #529

Closed PJNorrisS1 closed 1 year ago

PJNorrisS1 commented 1 year ago

Scenario:

This is the same for teams as well. Before you added that wonderful new feature of resetting all users, I had a large list of old player and team names in that pull down list. The only true way to delete a player now is to reset the game with users deleted.

Happy hunting :-)

eljeffeg commented 1 year ago

There were two delete player buttons when in player mode. If you use the small one, it didn't actually delete the "team" (team of 1). So I now hide that smaller delete button when in player mode so there is only one delete and it deletes both.

PJNorrisS1 commented 1 year ago

Ah that makes perfect sense! Great job, thank you.