From 619e8a8d309094445637a3e899f66ba13cd10941 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 25 Jun 2020 08:54:10 +0200 Subject: [PATCH] do not output passwords as clear text --- utils/schedulercli.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/schedulercli.php b/utils/schedulercli.php index ee7838851..3b16e9461 100644 --- a/utils/schedulercli.php +++ b/utils/schedulercli.php @@ -117,7 +117,8 @@ foreach($tasks as $task) { echo "\n"; if($params = $task->getParameter()) { foreach($params as $key=>$value) { - echo " ".$key.": ".$value."\n"; + $p = $taskobj->getAdditionalParamByName($key); + echo " ".$key.": ".($p['type'] == 'password' ? '********' : $value)."\n"; } } break;