Cannot delete own admin user without servers – Panel reports active servers when none exist
Current Behavior
When logged in as an administrator user that has no servers assigned, attempting to delete the same account (self-delete) results in the following error message:
Cannot delete a user with active servers attached to their account. Please delete their servers before continuing.
This happens even though the user does not own any servers.
Expected Behavior
If an administrator account has no servers assigned, the panel should either:
Allow the user to delete their own account, or Display a clear and correct validation message explaining why self-deletion is not allowed (if this is intentional behavior).
The panel should not report active servers when none exist.
Steps to Reproduce
Steps to Reproduce
Create a admin account.
Ensure the user has zero servers assigned.
Log in as that same admin user.
Go to the admin panel and attempt to delete the current user account.
Observe the error message stating the user has active servers.
Panel Version
1.11.11
Wings Version
not related
Games and/or Eggs Affected
not related
Docker Image
not related
Error Logs
Is there an existing issue for this?
- [x] I have searched the existing issues before opening this issue.
- [x] I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
- [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.