summaryrefslogtreecommitdiff
path: root/plugins/kolab_auth
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-01-07 14:31:48 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-01-07 14:31:48 (GMT)
commit5bbbcca49c3e5286de663fdb15f9f2ef37d3855b (patch)
treebd0dabbeed8ac7038d663275ccb292cbd55afbda /plugins/kolab_auth
parent229d31e90e250bffaf77e823118210f709a574a2 (diff)
downloadroundcubemail-plugins-kolab-5bbbcca49c3e5286de663fdb15f9f2ef37d3855b.tar.gz
Report LDAP server error in plugin hook return data (#2727)
Diffstat (limited to 'plugins/kolab_auth')
-rw-r--r--plugins/kolab_auth/kolab_auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/kolab_auth/kolab_auth.php b/plugins/kolab_auth/kolab_auth.php
index 1fa7755..79b1018 100644
--- a/plugins/kolab_auth/kolab_auth.php
+++ b/plugins/kolab_auth/kolab_auth.php
@@ -356,6 +356,7 @@ class kolab_auth extends rcube_plugin
$ldap = self::ldap();
if (!$ldap || !$ldap->ready) {
$args['abort'] = true;
+ $args['kolab_ldap_error'] = true;
$message = sprintf(
'Login failure for user %s from %s in session %s (error %s)',
$user,