mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-08 03:49:47 +00:00
(fix) avoid appending the domain unconditionally when SOGoEnableDomainBasedUID is set to YES
This commit is contained in:
committed by
Jesús García Sáez
parent
e2ef0103c4
commit
f4963df50f
@@ -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