Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ldap): force user auths_id for LDAP auth #9522

Conversation

flegastelois
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets !22553

This is a quick&dirty fix, it certainly deserves better code, with unit tests ;)

If a user has already authenticate (or imported from bin/console ldap) : it's LDAP server is filled (auths_id field), so we can use it for the authentication instead of trying all LDAP servers.

The """same""" thing is done for external authentication (SSO type):

//User has already authenticate, at least once : it's ldap server if filled

@cedric-anne
Copy link
Member

Replaced by #9540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants