Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !1164

Merged
Created Jul 29, 2012 by Administrator@rootOwner

Fixed identification of users with extern auth provider (LDAP)

  • Overview 16
  • Commits 3
  • Changes 4

Created by: jirutka

We cannot use email as identification of user when using LDAP. When user decides to change his e-mail address in Gitlab (but not in LDAP), he loses his account and new one with the new e-mail address is created.

I added new user attributes extern_uid and provider and changed User.find_for_ldap_auth() to find user by these attributes instead of email.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/jirutka/better_ldap