Commit f06816d6 authored by tbrehm's avatar tbrehm
Browse files

Fixed: FS#452 - Jail not working if a jailkit user is recreated

parent 03ecf695
......@@ -141,7 +141,7 @@ class shelluser_base_plugin {
// Get the UID of the user
$userid = intval($app->system->getuid($data['old']['username']));
if($userid > $this->min_uid) {
$command = 'userdel';
$command = 'userdel --force';
$command .= ' '.escapeshellcmd($data['old']['username']);
exec($command);
......
Supports Markdown
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