mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7416 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
2323cb0bff
commit
d1ff25cd9c
@ -50,7 +50,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="new_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt>
|
<dt><label for="new_password">{L_NEW_PASSWORD}:</label><br /><span>{L_CHANGE_PASSWORD_EXPLAIN}</span></dt>
|
||||||
<dd><input type="password" id="user_password" name="user_password" value="" /></dd>
|
<dd><input type="password" id="new_password" name="new_password" value="" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt>
|
<dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label><br /><span>{L_CONFIRM_PASSWORD_EXPLAIN}</span></dt>
|
||||||
|
@ -1400,7 +1400,7 @@ function validate_password($password)
|
|||||||
foreach ($chars as $char)
|
foreach ($chars as $char)
|
||||||
{
|
{
|
||||||
if (!preg_match('#' . $char . '#u', $password))
|
if (!preg_match('#' . $char . '#u', $password))
|
||||||
{var_dump($char, $password);
|
{
|
||||||
return 'INVALID_CHARS';
|
return 'INVALID_CHARS';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user