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

Merged
merged 1 commit into from
Jul 26, 2016

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Jul 19, 2016

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.

Note that there were similar issues before that were fixed on a different level, like #24423 (comment)

Please review @butonic @owncloud/ldap @DeepDiver1975

  • TODO: forward ports to 9.1 and master

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.
@mention-bot
Copy link

@PVince81, thanks for your PR! By analyzing the annotation information on this pull request, we identified @DeepDiver1975, @blizzz and @nickvergessen to be potential reviewers

@PVince81
Copy link
Contributor Author

Fixes #25511

@jvillafanez
Copy link
Member

Makes sense 👍

@PVince81
Copy link
Contributor Author

master: #25553

@DeepDiver1975
Copy link
Member

👍

@lock
Copy link

lock bot commented Aug 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants