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

Undeletable/unalterable users

Discussion in 'XenForo Questions and Support' started by scarletto, Jul 8, 2012.

  1. scarletto

    scarletto Member

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

    Code:
    $config['SpecialUsers']['undeletableusers'] = '1';
    Thanks!
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    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. scarletto

    scarletto Member

    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.
     

Share This Page