Marius Cramer
2015-05-26 64466c9c72397911c86b12f1ad9b098c242b139a
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']));