mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-04 02:55:26 +00:00
Remove not needed block in SoObjects/SOGo/SOGoUserManager.m
This commit is contained in:
@@ -443,19 +443,11 @@ static Class NSNullK;
|
||||
|
||||
checkOK = NO;
|
||||
|
||||
if (*domain == nil)
|
||||
{
|
||||
sd = [SOGoSystemDefaults sharedSystemDefaults];
|
||||
r = [login rangeOfString: @"@" options: NSBackwardsSearch];
|
||||
if ([sd enableDomainBasedUID] && r.location != NSNotFound)
|
||||
*domain = [login substringFromIndex: (r.location + r.length)];
|
||||
}
|
||||
|
||||
authIDs = [[self authenticationSourceIDsInDomain: *domain] objectEnumerator];
|
||||
while (!checkOK && (currentID = [authIDs nextObject]))
|
||||
{
|
||||
sogoSource = [_sources objectForKey: currentID];
|
||||
|
||||
|
||||
checkOK = [sogoSource checkLogin: login
|
||||
password: password
|
||||
perr: perr
|
||||
|
||||
Reference in New Issue
Block a user