From 71676f982aa42cc946c33211eb795c09a9b10c4e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 25 Jul 2013 07:21:35 +0000 Subject: [PATCH] fixed not working special char detection --- phpgwapi/inc/class.auth.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.auth.inc.php b/phpgwapi/inc/class.auth.inc.php index 7ef0e1e8f2..714c449445 100644 --- a/phpgwapi/inc/class.auth.inc.php +++ b/phpgwapi/inc/class.auth.inc.php @@ -599,7 +599,7 @@ class auth { $missing[] = lang('lowercase letters'); } - if (!preg_match('/'.preg_quote('~!@#$%^&*_-+=`|\(){}[]:;"\'<>,.?/', '/').'/', $passwd)) + if (!preg_match('/['.preg_quote('~!@#$%^&*_-+=`|\(){}[]:;"\'<>,.?/', '/').']/', $passwd)) { $missing[] = lang('special characters'); }