From: Stephan Bosch Date: Thu, 5 Oct 2023 00:26:40 +0000 (+0200) Subject: doveadm: doveadm-auth - Hide resp field from output X-Git-Tag: 2.4.0~2498 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65452e2084a28060420f11ff60398290fe9a2a51;p=thirdparty%2Fdovecot%2Fcore.git doveadm: doveadm-auth - Hide resp field from output --- diff --git a/src/doveadm/doveadm-auth.c b/src/doveadm/doveadm-auth.c index 6146c69307..56d5d469b5 100644 --- a/src/doveadm/doveadm-auth.c +++ b/src/doveadm/doveadm-auth.c @@ -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); }