Report LDAP server error in plugin hook return data (#2727)
This commit is contained in:
parent
229d31e90e
commit
5bbbcca49c
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue