plugins/kolab_auth

Aleksander Machniak machniak at kolabsys.com
Wed Oct 17 13:47:05 CEST 2012


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

New commits:
commit 81fdc1642a8b7c0ae1255d0ff47a69627a8916c2
Author: Aleksander Machniak <machniak at kolabsys.com>
Date:   Wed Oct 17 13:46:49 2012 +0200

    Remove redundant parse_host() call

diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index 620def5..28caca3 100644
--- a/plugins/kolab_auth/kolab_auth.php
+++ b/plugins/kolab_auth/kolab_auth.php
@@ -271,7 +271,7 @@ class kolab_auth extends rcube_plugin
         $email_attr  = $rcmail->config->get('kolab_auth_email');
 
         // get username and host
-        $host    = rcube_utils::parse_host($args['host']);
+        $host    = $args['host'];
         $user    = $args['user'];
         $pass    = $args['pass'];
         $loginas = trim(rcube_utils::get_input_value('_loginas', rcube_utils::INPUT_POST));
@@ -302,6 +302,7 @@ class kolab_auth extends rcube_plugin
             $result = $this->ldap->bind($dn, $pass);
 
             if (!$result) {
+                $args['abort'] = true;
                 return $args;
             }
 





More information about the commits mailing list