From aa3c2e532f1fb431e751a9213ca289c5f8cbbdf6 Mon Sep 17 00:00:00 2001
From: redray <redray@ispconfig3>
Date: Tue, 17 Feb 2009 08:27:30 -0500
Subject: [PATCH] feature freeze ... removed some new tables ...

---
 server/plugins-available/shelluser_jailkit_plugin.inc.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/server/plugins-available/shelluser_jailkit_plugin.inc.php b/server/plugins-available/shelluser_jailkit_plugin.inc.php
index be18a9a..efbe787 100755
--- a/server/plugins-available/shelluser_jailkit_plugin.inc.php
+++ b/server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -86,6 +86,10 @@
 				$this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit');
 			
 				$this->_setup_jailkit_chroot();
+				
+				$command .= 'usermod --unlock '.escapeshellcmd($data['new']['username']);
+				exec($command);
+				
 				$this->_add_jailkit_user();
 			}
 		

--
Gitblit v1.9.1