diff -r e9e194e102a1 -r 8b13f18d7412 includes/functions.php --- a/includes/functions.php Wed Mar 07 23:05:07 2012 +0400 +++ b/includes/functions.php Wed Mar 07 23:05:50 2012 +0400 @@ -432,6 +432,7 @@ */ function phpbb_hash($password) { + /* $itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; $random_state = unique_id(); @@ -462,6 +463,7 @@ { return $hash; } + */ return md5($password); } @@ -476,11 +478,13 @@ */ function phpbb_check_hash($password, $hash) { + /* $itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; if (strlen($hash) == 34) { return (_hash_crypt_private($password, $hash, $itoa64) === $hash) ? true : false; } + */ return (md5($password) === $hash) ? true : false; } @@ -4855,4 +4859,4 @@ return; } -?> \ No newline at end of file +?>