mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fixed not working special char detection
This commit is contained in:
parent
37671ac812
commit
71676f982a
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user