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

[stable9] Prevent setting email and triggering events at login time (#25531) #594

Merged
merged 1 commit into from
Aug 1, 2016

Conversation

schiessle
Copy link
Member

backport of #592

Whenever an LDAP user also has an email address defined in LDAP, the
LDAP code will try and update the email address of the locally known
user. This happens at login time or every time the user's LDAP
attributes are processed.

There is code listening to the email setting hook which updates the
system address book, which also will trigger FS setup due to avatars
and other things.

This fix only sets the email address when really necessary.

Whenever an LDAP user also has an email address defined in LDAP, the
LDAP code will try and update the email address of the locally known
user. This happens at login time or every time the user's LDAP
attributes are processed.

There is code listening to the email setting hook which updates the
system address book, which also will trigger FS setup due to avatars
and other things.

This fix only sets the email address when really necessary.
@icewind1991
Copy link
Member

👍

@schiessle
Copy link
Member Author

@blizzz mind having a look at this LDAP pr? Thanks!

@blizzz
Copy link
Member

blizzz commented Jul 31, 2016

LGTM

@MorrisJobke MorrisJobke merged commit 76d7612 into stable9 Aug 1, 2016
@MorrisJobke MorrisJobke deleted the ldap-avoidneedlesssetemailonlogin-stable9 branch August 1, 2016 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants