mirror of
https://github.com/moparisthebest/davmail
synced 2024-11-12 04:15:08 -05:00
LDAP: comment iCal code
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@463 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
119f224de6
commit
4dddf4a50f
@ -696,6 +696,7 @@ public class LdapConnection extends AbstractConnection {
|
||||
if (needObjectClasses) {
|
||||
ldapPerson.put("objectClass", PERSON_OBJECT_CLASSES);
|
||||
}
|
||||
// iCal: replace current user alias with login name
|
||||
if (session.getAlias().equals(ldapPerson.get("uid"))) {
|
||||
if (returningAttributes.contains("uidnumber")) {
|
||||
ldapPerson.put("uidnumber", userName);
|
||||
|
Loading…
Reference in New Issue
Block a user