Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2838:62908cbe2299 HEAD
typofix: advertise auth=plain only with disable_plaintext_auth = yes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 29 Oct 2004 20:56:46 +0300 |
parents | 0fe39d90ee15 |
children | aae2a75b0997 |
files | src/pop3-login/client-authenticate.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pop3-login/client-authenticate.c Thu Oct 28 18:22:35 2004 +0300 +++ b/src/pop3-login/client-authenticate.c Fri Oct 29 20:56:46 2004 +0300 @@ -35,7 +35,7 @@ c) we allow insecure authentication */ if ((mech[i].flags & MECH_SEC_PRIVATE) == 0 && - (client->common.secured || disable_plaintext_auth || + (client->common.secured || !disable_plaintext_auth || (mech[i].flags & MECH_SEC_PLAINTEXT) == 0)) { str_append_c(str, ' '); str_append(str, mech[i].name);