diff options
author | Michael Hamann <michael@content-space.de> | 2013-11-08 10:48:50 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2013-11-08 10:50:40 +0100 |
commit | b4304655d0b09ba0a958b9cf56f1bf699cf05b84 (patch) | |
tree | 92cd96f7b82aca3acbc5a432de1dd8ce027eb56f /lib/plugins/authldap | |
parent | 6a5d68178752212e9dc2ef82d500940b49bf6500 (diff) | |
download | rpg-b4304655d0b09ba0a958b9cf56f1bf699cf05b84.tar.gz rpg-b4304655d0b09ba0a958b9cf56f1bf699cf05b84.tar.bz2 |
Fix password decryption during LDAP rebinding
The LDAP rebinding was still using the old blowfish encryption instead
of AES so rebinding failed.
Diffstat (limited to 'lib/plugins/authldap')
-rw-r--r-- | lib/plugins/authldap/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/authldap/auth.php b/lib/plugins/authldap/auth.php index de1332282..31e2c5135 100644 --- a/lib/plugins/authldap/auth.php +++ b/lib/plugins/authldap/auth.php @@ -166,7 +166,7 @@ class auth_plugin_authldap extends DokuWiki_Auth_Plugin { // be accessible anonymously, so we try to rebind the current user here list($loginuser, $loginsticky, $loginpass) = auth_getCookie(); if($loginuser && $loginpass) { - $loginpass = PMA_blowfish_decrypt($loginpass, auth_cookiesalt(!$loginsticky)); + $loginpass = auth_decrypt($loginpass, auth_cookiesalt(!$loginsticky, true)); $this->checkPass($loginuser, $loginpass); } } |