]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login-common: Ignore resp when present
authorAki Tuomi <aki.tuomi@open-xchange.com>
Mon, 15 May 2023 10:49:51 +0000 (13:49 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Fri, 9 Jun 2023 07:00:35 +0000 (07:00 +0000)
src/login-common/client-common-auth.c

index 3e159848ab595331f0693d8d9daf4d0916a2c90b..d6a4cad3d7cafa1710c14862e0cee7ee11d8a33d 100644 (file)
@@ -209,6 +209,9 @@ static bool client_auth_parse_args(const struct client *client, bool success,
                } else if (str_begins(key, "event_", &key)) {
                        /* add key to event */
                        event_add_str(client->event_auth, key, value);
+               } else if (strcmp(key, "resp") == 0) {
+                       /* ignore final response */
+                       continue;
                } else
                        e_debug(client->event_auth,
                                "Ignoring unknown passdb extra field: %s", key);