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

This commit is contained in:
Ludovic Marcotte committed 2016-04-11 10:18:55 -04:00
1 parent 29f6ffb04c
commit 5f46df39cd
1 file changed
+3
+3
View File
@@ -525,6 +525,9 @@ static Class NSNullK;
SOGoSystemDefaults *sd;
BOOL checkOK;
if (!_login)
return NO;
sd = [SOGoSystemDefaults sharedSystemDefaults];
username = _login;