Skip to content
Snippets Groups Projects
Commit aff4665a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

information about wrong user was checked against possible connection to the LDAP

parent 7dbb44ae
No related branches found
No related tags found
2 merge requests!541version 12.1.3 into master,!523Resolve "LDAP connector problem with case insensitive logins"
......@@ -66,7 +66,7 @@ public class UserRestImpl extends BaseRestImpl {
Boolean ldapAvailable = false;
if (columnSet.contains("ldapAccountAvailable")) {
List<User> userList = new ArrayList<>();
userList.add(ownUserData);
userList.add(user);
ldapAvailable = getUserService().ldapAccountExistsForLogin(userList).get(login);
}
return prepareUse(user, columnSet, isAdmin, ldapAvailable);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment