From dc67af24058a8cafa9eb3eb3c7d7e71ec335fdb8 Mon Sep 17 00:00:00 2001
From: A. Täffner <darkalex@firesplash.de>
Date: Thu, 07 Apr 2016 07:23:56 -0400
Subject: [PATCH] Maximum password-length changed to 256 This implements https://git.ispconfig.org/ispconfig/ispconfig3/issues/3644

---
 interface/web/sites/form/shell_user.tform.php |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/interface/web/sites/form/shell_user.tform.php b/interface/web/sites/form/shell_user.tform.php
index db4efe3..4268fc0 100644
--- a/interface/web/sites/form/shell_user.tform.php
+++ b/interface/web/sites/form/shell_user.tform.php
@@ -237,6 +237,10 @@
 										1 => array ( 	'type' => 'REGEX',
 															'regex' => '/^\/[a-zA-Z0-9\ \.\-\_\/]{10,128}$/',
 															'errmsg'=> 'directory_error_regex'),
+										2 => array (    'type'  => 'CUSTOM',
+														'class' => 'validate_systemuser',
+														'function' => 'shelluser_dir',
+														'errmsg' => 'directory_error_notinweb'),
 				),
 				'default' => '',
 				'value'  => '',

--
Gitblit v1.9.1