Commit d062c991 authored by tbrehm's avatar tbrehm
Browse files

Fixed min_uid bug when deleting users.

parent af1c095f
......@@ -126,7 +126,7 @@ class shelluser_base_plugin {
// Get the UID of the user
$userid = intval($app->system->getuid($data['old']['username']));
if($userid > 999) {
if($userid > $this->min_uid) {
$command = 'userdel';
$command .= ' '.escapeshellcmd($data['old']['username']);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment