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

[Ldap] fix refreshUser() ignoring extra_fields #37177

Merged
merged 1 commit into from Jun 10, 2020
Merged

[Ldap] fix refreshUser() ignoring extra_fields #37177

merged 1 commit into from Jun 10, 2020

Conversation

arkste
Copy link
Contributor

@arkste arkste commented Jun 9, 2020

Q A
Branch? 4.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

While #31532 introduced extra_fields in general, #32824 later added LdapUser & LdapUserProvider and ignored extra_fields on refreshUser().

This PR fixes refreshUser() and adds a test which makes sure, that the refreshed ldap user doesn't lose its default values.

@chalasr
Copy link
Member

chalasr commented Jun 10, 2020

Thank you @arkste.

@chalasr chalasr merged commit c70241e into symfony:4.4 Jun 10, 2020
@arkste arkste deleted the fix-ldap-user-provider-extra-fields branch June 10, 2020 09:02
This was referenced Jun 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants