Commit 61bee84d authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

[IMAP] Fix IDLE support with GSSAPI authentication

Only ignore IDLE due to empty password when not using GSSAPI.
With GSSAPI the password field in settings is always empty.

BUG: 311456
FIXED-IN: 5.5.1
parent a4cf753d
......@@ -587,7 +587,9 @@ void ImapResourceBase::startIdle()
}
//Without password we don't even have to try
if (settings()->password().isEmpty()) {
if (m_pool->account()->authenticationMode() != KIMAP::LoginJob::GSSAPI &&
settings()->password().isEmpty())
{
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment