do not output passwords as clear text

This commit is contained in:
Uwe Steinmann 2020-06-25 08:54:10 +02:00
parent 31720be0fe
commit 619e8a8d30

View File

@ -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;