Fixed The only administrator can delete their own account

Jeremy P

XenForo developer
Staff member
Affected version
2.1.6a
While administrators are prevented from removing the only/their own administrator record, nothing prevents them from deleting their own account entirely. This can lead to a situation where there are no administrators at all, which I believe can only be rectified through direct database queries since the superAdmins configuration option was removed from XF2.

Administrators should probably be restricted from removing their own accounts.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.1.7).

Change log:
Prevent users from deleting their own accounts
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom