mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
git-svn-id: file:///svn/phpbb/trunk@7885 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1500,7 +1500,7 @@ function validate_password($password)
|
||||
{
|
||||
foreach ($chars as $char)
|
||||
{
|
||||
if (!mb_ereg_match($char, $password))
|
||||
if (mb_ereg($char, $password) === false)
|
||||
{
|
||||
return 'INVALID_CHARS';
|
||||
}
|
||||
|
Reference in New Issue
Block a user