• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Undeletable/unalterable users

#1
For a line/entry in config.php, what is the XF equivalent to this:

Code:
$config['SpecialUsers']['undeletableusers'] = '1';
Thanks!
 

Jake Bunce

XenForo moderator
Staff member
#2
XF does not have an "undeletable" option for the config file.

I personally don't see a need for such an option. If your admin login is compromised such that an attacker can delete users in the Admin CP then you are already screwed. Protecting one account from deletion is too little too late. It's time to restore a backup.
 
#3
I was more interested in the unalterable aspect of that command, and it does have some value, especially in the case of multiple admins / other special situations that don't necessarily have to do with just admin accts. But thanks.