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

pull/206/head
Ludovic Marcotte 2016-04-11 10:18:09 -04:00
parent 29f6ffb04c
commit 5f46df39cd
1 changed files with 3 additions and 0 deletions

View File

@ -525,6 +525,9 @@ static Class NSNullK;
SOGoSystemDefaults *sd;
BOOL checkOK;
if (!_login)
return NO;
sd = [SOGoSystemDefaults sharedSystemDefaults];
username = _login;