Branch 'roundcubemail-plugins-kolab-3.1' - plugins/kolab_auth

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Sat Sep 14 22:42:48 CEST 2013


 plugins/kolab_auth/kolab_auth_ldap.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 93a656220cb9ba98c67a1092b3b33a470bd4cef8
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Sat Sep 14 21:42:10 2013 +0100

    Make sure that once the user name is set, we actually continue

diff --git a/plugins/kolab_auth/kolab_auth_ldap.php b/plugins/kolab_auth/kolab_auth_ldap.php
index 2cddb3f..9592b6c 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 {




More information about the commits mailing list