(fix) use uid and not always-nil login value at this point

This commit is contained in:
Ludovic Marcotte
2016-05-09 15:14:48 -04:00
parent a26b2ec9ef
commit a4c69215db
+1 -1
View File
@@ -392,7 +392,7 @@ static Class NSNullK;
{
sd = [SOGoSystemDefaults sharedSystemDefaults];
if ([sd enableDomainBasedUID] &&
[login rangeOfString: @"@"].location == NSNotFound)
[uid rangeOfString: @"@"].location == NSNotFound)
{
// On multidomain environment we must use uid@domain
// for getEmailForUID method