mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-25 11:54:17 +00:00
Merge branch 'upstream-master' into merge-from-upstream
Conflicts: SoObjects/SOGo/LDAPSource.m SoObjects/SOGo/SOGoUserManager.m
This commit is contained in:
@@ -262,9 +262,7 @@
|
||||
// The domain is probably appended to the username;
|
||||
// make sure it is defined as a domain in the configuration.
|
||||
*theDomain = [*theLogin substringFromIndex: (r.location + r.length)];
|
||||
if ([[sd domainIds] containsObject: *theDomain])
|
||||
*theLogin = [*theLogin substringToIndex: r.location];
|
||||
else
|
||||
if (![[sd domainIds] containsObject: *theDomain])
|
||||
*theDomain = nil;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user