1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

oh boy...

- Migrate code base to PHP 5.1+


git-svn-id: file:///svn/phpbb/trunk@8295 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2008-01-03 17:00:40 +00:00
parent 0f26ffbade
commit 85055ac97f
77 changed files with 827 additions and 3121 deletions

View File

@@ -112,8 +112,9 @@ function login_db(&$username, &$password)
}
}
// @todo: safe to remove?
// If the password convert flag is set we need to convert it
if ($row['user_pass_convert'])
/*if ($row['user_pass_convert'])
{
// in phpBB2 passwords were used exactly as they were sent, with addslashes applied
$password_old_format = isset($_REQUEST['password']) ? (string) $_REQUEST['password'] : '';
@@ -161,7 +162,7 @@ function login_db(&$username, &$password)
);
}
}
}
}*/
// Check password ...
if (!$row['user_pass_convert'] && phpbb_check_hash($password, $row['user_password']))