Don't ask for authentication credentials when specified in the URL.
This commit is contained in:
parent
9479afa206
commit
8d20c8de3a
@ -315,7 +315,9 @@ static void connectStore()
|
|||||||
interactiveAuthenticator auth;
|
interactiveAuthenticator auth;
|
||||||
|
|
||||||
vmime::utility::auto_ptr <vmime::messaging::store> st =
|
vmime::utility::auto_ptr <vmime::messaging::store> st =
|
||||||
g_session->getStore(url, &auth);
|
g_session->getStore(url,
|
||||||
|
(url.getUsername().empty() || url.getPassword().empty())
|
||||||
|
? &auth : NULL);
|
||||||
|
|
||||||
// Connect to the mail store
|
// Connect to the mail store
|
||||||
st->connect();
|
st->connect();
|
||||||
|
Loading…
Reference in New Issue
Block a user