diff options
-rw-r--r-- | src/common.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/common.c b/src/common.c index 8147d0a045..dcce8a5b57 100644 --- a/src/common.c +++ b/src/common.c @@ -1020,9 +1020,11 @@ pin_callback(void *user, int attempt, const char *token_url, exit(1); } - fprintf(stderr, - "Re-using cached PIN for token '%s'\n", - token_label); + if (info && info->verbose) { + fprintf(stderr, + "Re-using cached PIN for token '%s'\n", + token_label); + } strcpy(pin, cached_pin); cache--; return 0; |