Skip to content

Commit

Permalink
Fix: trim ldap ident input (#2081)
Browse files Browse the repository at this point in the history
  • Loading branch information
dijjal authored May 29, 2024
1 parent bc7d633 commit b10aab9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public LdapBrukeroppslag() {
}

public String hentBrukersNavn(String ident) {
var result = ldapSearch(ident);
var result = ldapSearch(ident.trim());
return getDisplayName(result);
}

Expand Down

0 comments on commit b10aab9

Please sign in to comment.