Mercurial > dovecot > core-2.2
changeset 1692:e5e5ca4aa466 HEAD
We were posing as IMAP instead of POP3 to auth process.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 20 Aug 2003 06:17:25 +0300 |
parents | 1ad3218d7d08 |
children | 552514c014cc |
files | src/pop3-login/client-authenticate.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pop3-login/client-authenticate.c Wed Aug 20 05:51:30 2003 +0300 +++ b/src/pop3-login/client-authenticate.c Wed Aug 20 06:17:25 2003 +0300 @@ -183,7 +183,7 @@ buffer_append(client->plain_login, args, strlen(args)); client_ref(client); - if (auth_init_request(AUTH_MECH_PLAIN, AUTH_PROTOCOL_IMAP, + if (auth_init_request(AUTH_MECH_PLAIN, AUTH_PROTOCOL_POP3, login_callback, &client->common, &error)) { /* don't read any input from client until login is finished */ if (client->common.io != NULL) { @@ -287,7 +287,7 @@ } client_ref(client); - if (auth_init_request(mech->mech, AUTH_PROTOCOL_IMAP, + if (auth_init_request(mech->mech, AUTH_PROTOCOL_POP3, authenticate_callback, &client->common, &error)) { /* following input data will go to authentication */ if (client->common.io != NULL)