From e6bb4e823a6fb353fb802b6a7bfb8d7ed1cc424a Mon Sep 17 00:00:00 2001 From: quentusrex <quentusrex@ispconfig3> Date: Thu, 06 Nov 2008 12:35:24 -0500 Subject: [PATCH] Oops. Don't ever disable auth. Bug FS#267 - mail filter not hidden for client --- interface/web/sites/form/ftp_user.tform.php | 28 +++++++--------------------- 1 files changed, 7 insertions(+), 21 deletions(-) diff --git a/interface/web/sites/form/ftp_user.tform.php b/interface/web/sites/form/ftp_user.tform.php index 232561a..4950a1b 100644 --- a/interface/web/sites/form/ftp_user.tform.php +++ b/interface/web/sites/form/ftp_user.tform.php @@ -99,6 +99,7 @@ 'password' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'PASSWORD', + 'encryption' => 'CRYPT', 'default' => '', 'value' => '', 'width' => '30', @@ -138,26 +139,26 @@ # Begin Datatable fields ################################## 'uid' => array ( - 'datatype' => 'INTEGER', + 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'uid_error_empty'), ), 'default' => '0', 'value' => '', - 'width' => '5', - 'maxlength' => '5' + 'width' => '30', + 'maxlength' => '255' ), 'gid' => array ( - 'datatype' => 'INTEGER', + 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', 'errmsg'=> 'uid_error_empty'), ), 'default' => '0', 'value' => '', - 'width' => '5', - 'maxlength' => '5' + 'width' => '30', + 'maxlength' => '255' ), 'dir' => array ( 'datatype' => 'VARCHAR', @@ -173,9 +174,6 @@ 'quota_files' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'quota_files_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -184,9 +182,6 @@ 'ul_ratio' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'ul_ratio_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -195,9 +190,6 @@ 'dl_ratio' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'qdl_ratio_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -206,9 +198,6 @@ 'ul_bandwidth' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'ul_bandwidth_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', @@ -217,9 +206,6 @@ 'dl_bandwidth' => array ( 'datatype' => 'INTEGER', 'formtype' => 'TEXT', - 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY', - 'errmsg'=> 'dl_bandwidth_error_empty'), - ), 'default' => '0', 'value' => '', 'width' => '7', -- Gitblit v1.9.1