Commit 87e99671 authored by wannes's avatar wannes
Browse files

Same bug, same solution

parent cf9fb319
......@@ -99,7 +99,7 @@ public class Users {
public static User get(String email) {
try {
return persister.get("mail=" + email + "," + usersDN(), LDAP.connection());
return persister.get(new RDN("mail=" + email + "," + usersDN()).toString(), LDAP.connection());
} catch (LDAPException ex) {
Logger.getLogger(Users.class).error("Failed to get user", ex);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment