(fix) avoid going to far when checking logins if no login is defined

This commit is contained in:
Ludovic Marcotte
2016-04-11 10:18:09 -04:00
parent f9d2acded7
commit 7f6211ae4a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -537,6 +537,9 @@ static Class NSNullK;
SOGoSystemDefaults *sd;
BOOL checkOK;
if (!_login)
return NO;
sd = [SOGoSystemDefaults sharedSystemDefaults];
username = _login;