From 42ecb4362900e61d930d3ae75cbe12ec595d5d55 Mon Sep 17 00:00:00 2001 From: "Jeroen van Meeuwen (Kolab Systems)" Date: Sat, 14 Sep 2013 21:42:10 +0100 Subject: [PATCH] Make sure that once the user name is set, we actually continue --- plugins/kolab_auth/kolab_auth_ldap.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/kolab_auth/kolab_auth_ldap.php b/plugins/kolab_auth/kolab_auth_ldap.php index 2cddb3f5..9592b6c6 100644 --- a/plugins/kolab_auth/kolab_auth_ldap.php +++ b/plugins/kolab_auth/kolab_auth_ldap.php @@ -371,7 +371,8 @@ class kolab_auth_ldap extends rcube_ldap_generic if (!$user) { $user = $_SESSION['username']; } - else if (isset($this->icache[$user])) { + + if (isset($this->icache[$user])) { list($user, $dc) = $this->icache[$user]; } else {