diff options
author | Drew Blessing <drew@gitlab.com> | 2017-01-03 10:05:47 -0600 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2017-01-03 13:26:47 -0600 |
commit | babb7d5260087abfe09d7c4d6994433def7d8b99 (patch) | |
tree | 7d52381908b12330c035d20b7028e1a06b244e6e /tmp | |
parent | 37ef8d72d447b24f15fc2db1dcf6cec360a2f8be (diff) | |
download | gitlab-ce-babb7d5260087abfe09d7c4d6994433def7d8b99.tar.gz |
Gitlab::LDAP::Person uses LDAP attributes configuration
We allow users to configure LDAP attribute preferences. For example,
email can be configured to use `mail`, `email` and `userPrincipalName`,
falling through to the next until a value is found. Prior to this
change, Gitlab::LDAP::Person did not honor this configuration. Now,
the class will honor `name` and `mail` configuration. It does not
handle `username`, or fallback to `first_name` + `last_name` in the
absence of `name`.
Diffstat (limited to 'tmp')
0 files changed, 0 insertions, 0 deletions