user_pass_ok now uses md5()

git-svn-id: http://svn.automattic.com/wordpress/trunk@892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-02-19 22:42:47 +00:00
parent 634e9e8988
commit 1a51bec12c
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ function user_pass_ok($user_login,$user_pass) {
} else {
$userdata = $cache_userdata[$user_login];
}
return ($user_pass == $userdata->user_pass);
return (md5($user_pass) == $userdata->user_pass);
}
function get_currentuserinfo() { // a bit like get_userdata(), on steroids