From 9ae44824aa54f4c68db9490dec8d93f17945b1f7 Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Thu, 07 Apr 2016 10:13:04 -0400 Subject: [PATCH] Merge branch 'pwd-length' into 'stable-3.1' --- interface/web/login/index.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/web/login/index.php b/interface/web/login/index.php index 5339f04..63ac074 100644 --- a/interface/web/login/index.php +++ b/interface/web/login/index.php @@ -60,7 +60,7 @@ //** Check variables if(!preg_match("/^[\w\.\-\_\@]{1,128}$/", $_POST['username'])) $error = $app->lng('user_regex_error'); - if(!preg_match("/^.{1,64}$/i", $_POST['password'])) $error = $app->lng('pw_error_length'); + if(!preg_match("/^.{1,256}$/i", $_POST['password'])) $error = $app->lng('pw_error_length'); //** importing variables $ip = ip2long($_SERVER['REMOTE_ADDR']); -- Gitblit v1.9.1