Florian Schaal
2015-06-02 6c424f1677753663ca1e086a955f2843f86854f3
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']));