Skip to content
Snippets Groups Projects
  • Vincent Petry's avatar
    77df09d5
    Prevent setting email and triggering events at login time (#25553) · 77df09d5
    Vincent Petry authored
    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.
    77df09d5
    History
    Prevent setting email and triggering events at login time (#25553)
    Vincent Petry authored
    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.