mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-12 20:00:47 +00:00
(fix) avoid appending the domain unconditionally when SOGoEnableDomainBasedUID is set to YES
This commit is contained in:
1 parent
ae72c2f1d5
commit
416711ea43
4 files changed
+9
-4
No files matched your search
@@ -427,7 +427,8 @@
|
||||
{
|
||||
currentUser = [users objectAtIndex: i];
|
||||
field = [currentUser objectForKey: @"c_uid"];
|
||||
if (enableDomainBasedUID)
|
||||
if (enableDomainBasedUID &&
|
||||
[field rangeOfString: @"@"].location == NSNotFound)
|
||||
field = [NSString stringWithFormat: @"%@@%@", field, domain];
|
||||
if (![field isEqualToString: login])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user