diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-04 18:50:25 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-04 18:50:25 +0000 |
| commit | 760fe6bc66cc5571b220e3a80ddc027ad67b86f3 (patch) | |
| tree | 85cc3fdacda920243e9bfad58f9e44d4cd65841a /phpBB/includes/auth/auth_ldap.php | |
| parent | c2085565789b4a5858ba9bb1189804b731cb2ab4 (diff) | |
| download | forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar.gz forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar.bz2 forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.tar.xz forums-760fe6bc66cc5571b220e3a80ddc027ad67b86f3.zip | |
#i42
new password hashing mechanism for storing passwords
git-svn-id: file:///svn/phpbb/trunk@8139 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/auth/auth_ldap.php')
| -rw-r--r-- | phpBB/includes/auth/auth_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/auth/auth_ldap.php b/phpBB/includes/auth/auth_ldap.php index 7f79a4862a..c6cdb4f4e4 100644 --- a/phpBB/includes/auth/auth_ldap.php +++ b/phpBB/includes/auth/auth_ldap.php @@ -204,7 +204,7 @@ function login_ldap(&$username, &$password) // generate user account data $ldap_user_row = array( 'username' => $username, - 'user_password' => md5($password), + 'user_password' => phpbb_hash($password), 'user_email' => (!empty($config['ldap_email'])) ? $ldap_result[0][$config['ldap_email']][0] : '', 'group_id' => (int) $row['group_id'], 'user_type' => USER_NORMAL, |
