mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge remote-tracking branch 'Dickyf/ticket/10708' into develop-olympus
* Dickyf/ticket/10708: [ticket/10708] Check converted passwords for multi-byte characters
This commit is contained in:
commit
2516b1e8f1
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_old_format = (!STRIP) ? addslashes($password_old_format) : $password_old_format;
|
||||||
$password_new_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)
|
if ($password == $password_new_format)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue