gitlab-org--gitlab-foss/spec/lib
Robert Speicher 42603af326 Merge branch 'fix_email_downcasing' into 'master'
LDAP email address downcasing

Fixes #2960

In the event we cannot match an LDAP user by DN we attempt to find an identity by email address and then update the DN. In this case the identity is matched by email address. 

If the user's email address in LDAP has an upper case character we cannot find a match in the GitLab database. GitLab downcases emails before the user object is saved.

This merge request downcases the email from LDAP before we lookup by email. I also added a test to prevent a regression.

See merge request !1550
2015-10-11 22:53:11 +00:00
..
ci Fix gitlab_ci_yaml_processor specs 2015-10-05 16:07:50 +02:00
gitlab Merge branch 'fix_email_downcasing' into 'master' 2015-10-11 22:53:11 +00:00
disable_email_interceptor_spec.rb Fix Style/Blocks cop violations 2015-06-22 16:00:54 -04:00
extracts_path_spec.rb Groundwork for merging CI into CE 2015-08-25 18:42:46 -07:00
file_size_validator_spec.rb Fix Style/IndentationWidth cop violations 2015-06-22 22:25:40 -07:00
git_ref_validator_spec.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
repository_cache_spec.rb Remove unnecessary require from RepositoryCache spec 2015-06-04 11:40:43 -04:00
votes_spec.rb Fix Style/AlignHash cop violations 2015-06-22 22:24:39 -07:00