mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10708] Check converted passwords for multi-byte characters
Check for multi-byte characters in converted passwords. PHPBB3-10708
This commit is contained in:
parent
81eeafbb8d
commit
70d88965c7
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ function login_db($username, $password, $ip = '', $browser = '', $forwarded_for
|
|||
$password_old_format = (!STRIP) ? addslashes($password_old_format) : $password_old_format;
|
||||
$password_new_format = '';
|
||||
|
||||
set_var($password_new_format, stripslashes($password_old_format), 'string');
|
||||
set_var($password_new_format, stripslashes($password_old_format), 'string', true);
|
||||
|
||||
if ($password == $password_new_format)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue