gitlab-org--gitlab-foss/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
..
api Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
assets
backup Add support for AWS S3 Server-Side Encryption support 2015-09-25 17:06:31 +01:00
ci Merge branch 'rs-remove-ci-disable' 2015-10-05 20:06:31 +02:00
gitlab Merge branch 'fix_email_downcasing' into 'master' 2015-10-11 22:53:11 +00:00
omni_auth Add reset_session for the :reset_session strategy. 2015-04-24 20:10:32 +02:00
rouge/formatters Fix diff syntax highlighting 2015-08-10 08:07:26 -07:00
support Add missing rake and change nginx config for CI migration 2015-09-22 09:45:52 +02:00
tasks Merge branch 'rs-2fa-task' into 'master' 2015-10-09 08:04:34 +00:00
disable_email_interceptor.rb Add email interceptor to prevent mail sending if email sending is disabled. 2014-10-27 13:05:50 +01:00
email_validator.rb More rubocop rules enable 2015-02-02 21:31:03 -08:00
event_filter.rb Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
extracts_path.rb Fix "Network" and "Graphs" pages for branches with encoded slashes 2015-08-02 00:07:23 -07:00
file_size_validator.rb Support configurable attachment size via Application Settings 2015-04-02 00:04:08 -07:00
gitlab.rb Revert "Merge branch 'revert-satellites' into 'master' " 2015-08-11 14:33:31 +02:00
gt_one_coercion.rb diff unfold 2014-08-14 15:48:14 +04:00
repository_cache.rb Store commit count in project table 2015-07-17 15:22:56 +02:00
static_model.rb
unfold_form.rb Gitlab Issue 707: Indent unfolded code 1 character 2015-07-22 09:58:17 -04:00
version_check.rb Replace host with real one 2015-05-11 18:21:45 +03:00