mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:11:41 +03:00
imap: Fixed auth preference not being honored when CAPABILITY not supported
If a user indicated they preferred to authenticate using a SASL mechanism, but SASL authentication wasn't supported by the server, curl would always fall back to clear text when CAPABILITY wasn't supported, even though the user didn't want to use this.
This commit is contained in:
parent
0c762f1c92
commit
7fd490732a
1 changed files with 1 additions and 1 deletions
|
|
@ -917,7 +917,7 @@ static CURLcode imap_state_capability_resp(struct connectdata *conn,
|
|||
result = imap_perform_authentication(conn);
|
||||
}
|
||||
else
|
||||
result = imap_perform_login(conn);
|
||||
result = imap_perform_authentication(conn);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue