mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
Fix a crasher
This commit is contained in:
@@ -496,6 +496,8 @@ static Class NSNullK;
|
||||
|
||||
dd = [SOGoSystemDefaults sharedSystemDefaults];
|
||||
|
||||
username = _login;
|
||||
|
||||
if (*_domain)
|
||||
{
|
||||
if ([_login rangeOfString: @"@"].location == NSNotFound)
|
||||
@@ -505,8 +507,6 @@ static Class NSNullK;
|
||||
{
|
||||
NSRange r;
|
||||
|
||||
username = _login;
|
||||
|
||||
// We try to extract the domain in use in order to avoid pounding all the authentication
|
||||
// sources if SOGoLoginDomains isn't specified. This is also true if the user is
|
||||
// using DAV or EAS.
|
||||
|
||||
Reference in New Issue
Block a user