server/plugins-available/shelluser_base_plugin.inc.php
@@ -96,6 +96,8 @@ return false; } if($data['new']['active'] != 'y') $data['new']['shell'] = '/bin/false'; if($app->system->is_user($data['new']['puser'])) { // Get the UID of the parent user @@ -194,6 +196,8 @@ return false; } if($data['new']['active'] != 'y') $data['new']['shell'] = '/bin/false'; if($app->system->is_user($data['new']['puser'])) { // Get the UID of the parent user $uid = intval($app->system->getuid($data['new']['puser']));