Commit 55fd9363 authored by Kishore Gopalakrishnan's avatar Kishore Gopalakrishnan
Browse files

Allow oauth2 for non-imap as well

At least for smtp, it is apparently supported.

BUG: 445229
parent e9fccc2e
......@@ -236,7 +236,7 @@ Server Ispdb::createServer(const QDomElement &n)
s.authentication = ClientIP;
} else if (type == QLatin1String("none")) {
s.authentication = NoAuth;
} else if (n.attribute(QStringLiteral("type")) == QLatin1String("imap") && type == QLatin1String("OAuth2")) {
} else if (type == QLatin1String("OAuth2")) {
s.authentication = OAuth2;
}
}
......
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