From: Timo Sirainen Date: Thu, 22 Dec 2022 11:43:55 +0000 (+0200) Subject: login-common: Reset auth_try_aborted if a new auth is started X-Git-Tag: 2.4.0~2911 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0afbb2f2ba1a3eaf88e074c88318c7603329737;p=thirdparty%2Fdovecot%2Fcore.git login-common: Reset auth_try_aborted if a new auth is started This only affects the disconnection log message. It is likely better to forget about this state when a new auth attempt begins, since if the new auth fails also it is likely something completely different. --- diff --git a/src/login-common/sasl-server.c b/src/login-common/sasl-server.c index d9c66efc40..4d45877759 100644 --- a/src/login-common/sasl-server.c +++ b/src/login-common/sasl-server.c @@ -511,6 +511,7 @@ void sasl_server_auth_begin(struct client *client, const char *mech_name, i_assert(auth_client_is_connected(auth_client)); client->auth_attempts++; + client->auth_try_aborted = FALSE; client->authenticating = TRUE; client->master_auth_id = 0; if (client->auth_first_started == 0)