mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 09:58:04 +02: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');
|
$missing[] = lang('lowercase letters');
|
||||||
}
|
}
|
||||||
if (!preg_match('/'.preg_quote('~!@#$%^&*_-+=`|\(){}[]:;"\'<>,.?/', '/').'/', $passwd))
|
if (!preg_match('/['.preg_quote('~!@#$%^&*_-+=`|\(){}[]:;"\'<>,.?/', '/').']/', $passwd))
|
||||||
{
|
{
|
||||||
$missing[] = lang('special characters');
|
$missing[] = lang('special characters');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user