summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_ldap.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-26 10:27:19 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-26 10:27:19 +0100
commit5b06e24265ca9dfcb9ced320b8f78716372fcc56 (patch)
treecf6401da057b53ba42c4f51045f35bc6962a4f79 /program/lib/Roundcube/rcube_ldap.php
parent789e5988aaebb78d368b137b98169ec1e616159c (diff)
Cleaner way of handling user password in framework-based programs with no session
Diffstat (limited to 'program/lib/Roundcube/rcube_ldap.php')
-rw-r--r--program/lib/Roundcube/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php
index e3ba8c29f..c9a14d863 100644
--- a/program/lib/Roundcube/rcube_ldap.php
+++ b/program/lib/Roundcube/rcube_ldap.php
@@ -269,7 +269,7 @@ class rcube_ldap extends rcube_addressbook
if ($this->prop['user_specific']) {
// No password set, use the session password
if (empty($bind_pass)) {
- $bind_pass = $rcube->decrypt($_SESSION['password']);
+ $bind_pass = $rcube->get_user_password();
}
// Get the pieces needed for variable replacement.