diff --git a/src/Model/Table/LdapConnectionsTable.php b/src/Model/Table/LdapConnectionsTable.php index 2d65987..e67c559 100755 --- a/src/Model/Table/LdapConnectionsTable.php +++ b/src/Model/Table/LdapConnectionsTable.php @@ -266,7 +266,7 @@ class LdapConnectionsTable extends AppTable { if (@ldap_bind($ldapConnection, $this->authenticationType . '=' . $login . ',' . $this->baseDn, $password)) { return $this->getUserAttributes($login)[0]; } else { - return "YOLO"; + return false; } } -- libgit2 0.21.2