]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveadm: doveadm-auth - Hide resp field from output
authorStephan Bosch <stephan.bosch@open-xchange.com>
Thu, 5 Oct 2023 00:26:40 +0000 (02:26 +0200)
committerstephan.bosch <stephan.bosch@open-xchange.com>
Mon, 23 Oct 2023 15:50:54 +0000 (15:50 +0000)
src/doveadm/doveadm-auth.c

index 6146c693075998d592572badabfe56f599aab493..56d5d469b5cd9b92c4ab979c4c71b22063241db2 100644 (file)
@@ -205,8 +205,11 @@ auth_callback(struct auth_client_request *request,
 
        if (args != NULL && *args != NULL) {
                printf("extra fields:\n");
-               for (; *args != NULL; args++)
+               for (; *args != NULL; args++) {
+                       if (str_begins_with(*args, "resp="))
+                               continue;
                        printf("  %s\n", *args);
+               }
        }
        io_loop_stop(current_ioloop);
 }