From e98a15838d8aed330ac7b1bb373b54524ea2a269 Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Fri, 01 Aug 2014 05:47:00 -0400
Subject: [PATCH] Improved input validation for settings that are acessible by the admin user.

---
 interface/web/sites/ftp_user_edit.php |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/interface/web/sites/ftp_user_edit.php b/interface/web/sites/ftp_user_edit.php
index edf47a3..ba695e0 100644
--- a/interface/web/sites/ftp_user_edit.php
+++ b/interface/web/sites/ftp_user_edit.php
@@ -154,14 +154,6 @@
 	function onBeforeUpdate() {
 		global $app, $conf, $interfaceConf;
 		
-
-		// Check system user and group
-		if(isset($this->dataRecord['uid'])) {
-			if($app->functions->is_allowed_user(strtolower($this->dataRecord['uid']),true) == false || $app->functions->is_allowed_group(strtolower($this->dataRecord['gid']),true) == false) {
-				$app->tform->errorMessage .= $app->tform->lng('invalid_system_user_or_group_txt');
-			}
-		}
-		
 		/*
 		 * If the names should be restricted -> do it!
 		 */

--
Gitblit v1.9.1