]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-common: Add debug logging when doing reauth
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 2 May 2022 09:56:06 +0000 (12:56 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 17 May 2022 10:34:24 +0000 (10:34 +0000)
src/login-common/client-common-auth.c

index 71e7abe847fd765ffd4541065ec7c3872a15a840..958b078d4b5cc89b115643638ad4bb7e0d0e5eca 100644 (file)
@@ -433,6 +433,8 @@ proxy_redirect_reauth(struct client *client, const char *destuser,
        struct auth_request_info info;
        const char *client_error;
 
+       e_debug(client->event, "Reauthenticating user %s (redirect to %s)",
+               destuser, net_ipport2str(ip, port));
        if (sasl_server_auth_request_info_fill(client, &info, &client_error) < 0) {
                const char *error = t_strdup_printf(
                        "Unexpected failure on reauth: %s", client_error);