Skip to content

Commit

Permalink
Merge pull request #1 from craftbyte/patch-1
Browse files Browse the repository at this point in the history
also support display name
  • Loading branch information
jfederico authored Apr 8, 2020
2 parents 9b93c64 + f66f6c1 commit 987352a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bn-ldap-authentication.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module LdapAuthenticator
LDAP_ATTRIBUTE_MAPPING = {
'name' => [:cn],
'name' => [:displayName, :cn],
'first_name' => [:givenName],
'last_name' => [:sn],
'email' => [:mail, :email, :userPrincipalName],
Expand Down

0 comments on commit 987352a

Please sign in to comment.