diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-26 12:00:44 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-26 12:00:44 +0000 |
commit | 85aa957de8319e6c2ca6fc39190bb7fd2c5e602d (patch) | |
tree | c96028afa0d1e9b099342d580d6dc11a7a0b6b0f /engine/lib/sessions.php | |
parent | 27e6aeae6cc813ef7f0dadd67f3002871bce3356 (diff) | |
download | elgg-85aa957de8319e6c2ca6fc39190bb7fd2c5e602d.tar.gz elgg-85aa957de8319e6c2ca6fc39190bb7fd2c5e602d.tar.bz2 |
Fixes #91 and #97
git-svn-id: https://code.elgg.org/elgg/trunk@1143 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r-- | engine/lib/sessions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index ae7bd8ac5..3116f500d 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -72,10 +72,10 @@ { if (is_array($credentials) && ($credentials['username']) && ($credentials['password'])) { - $dbpassword = md5($credentials['password']); + //$dbpassword = md5($credentials['password']); if ($user = get_user_by_username($credentials['username'])) { - if ($user->password == $dbpassword) { + if ($user->password == generate_user_password($user, $credentials['password'])) { return true; } } |