still try secure auth if login disabled, sr=mscott 307902

This commit is contained in:
bienvenu%nventure.com 2005-09-12 20:09:49 +00:00
Родитель a72e7f47b2
Коммит 5b45b1ce79
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -7508,7 +7508,7 @@ PRBool nsImapProtocol::TryToLogon()
break;
}
if (GetServerStateParser().GetCapabilityFlag() & kLoginDisabled)
if (!m_useSecAuth && GetServerStateParser().GetCapabilityFlag() & kLoginDisabled)
{
AlertUserEventUsingId(IMAP_LOGIN_DISABLED);
// force re-issue of Capability() to make sure login still disabled.