diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-05-18 20:33:21 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-05-18 20:33:21 +0200 |
commit | 18496fe0decfb1382393daca3141bf315cda7254 (patch) | |
tree | 3ce049ddb02119212949de68afaaa948af1a4915 | |
parent | 38111df8da7d432ba9a723946149cd982d4c1944 (diff) | |
download | rpg-18496fe0decfb1382393daca3141bf315cda7254.tar.gz rpg-18496fe0decfb1382393daca3141bf315cda7254.tar.bz2 |
fixed undefined variable in LDAP plugin
-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 bda8f2abe..0d5e130ea 100644 --- a/lib/plugins/authldap/auth.php +++ b/lib/plugins/authldap/auth.php @@ -286,7 +286,7 @@ class auth_plugin_authldap extends DokuWiki_Auth_Plugin { // find the old password of the user list($loginuser,$loginsticky,$loginpass) = auth_getCookie(); if ($loginuser !== null) { // the user is currently logged in - $secret = auth_cookiesalt(!$sticky, true); + $secret = auth_cookiesalt(!$loginsticky, true); $pass = auth_decrypt($loginpass, $secret); // bind with the ldap |