From b40d8c595b7aa1b585d5e19e1290d90da375ba4b Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 06 Oct 2009 08:21:30 -0400
Subject: [PATCH] Fixed: FS#783 - display table the main DIV  Fixed: FS#655 - Resolution problem 12024x768 Px in Backend

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

diff --git a/server/plugins-available/shelluser_jailkit_plugin.inc.php b/server/plugins-available/shelluser_jailkit_plugin.inc.php
index b915e9f..60524ba 100755
--- a/server/plugins-available/shelluser_jailkit_plugin.inc.php
+++ b/server/plugins-available/shelluser_jailkit_plugin.inc.php
@@ -85,15 +85,15 @@
 				$this->app = $app;
 				$this->jailkit_config = $app->getconf->get_server_config($conf["server_id"], 'jailkit');
 				
-				$command .= 'usermod -U '.escapeshellcmd($data['new']['username']);
-				exec($command);
-				
 				$this->_update_website_security_level();
-				
-				$this->_add_jailkit_user();
 			
 				$this->_setup_jailkit_chroot();
 				
+				$this->_add_jailkit_user();
+				
+				$command .= 'usermod -U '.escapeshellcmd($data['new']['username']);
+				exec($command);
+				
 				$this->_update_website_security_level();
 			}
 		

--
Gitblit v1.9.1