From a2db11e6ab4779b6b3b97b9a1a9006ed00e01971 Mon Sep 17 00:00:00 2001 From: Tyler Lendon Date: Fri, 11 Mar 2022 17:33:30 -0500 Subject: [PATCH] pkp/pkp-lib#7716: Hide DB password in the administration "system info" page (#7755) * Redacts DB password * Reduced changes to 4 lines * Removed extra line --- templates/admin/systemInfo.tpl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/admin/systemInfo.tpl b/templates/admin/systemInfo.tpl index 77b8625d210..e15533361a2 100644 --- a/templates/admin/systemInfo.tpl +++ b/templates/admin/systemInfo.tpl @@ -96,10 +96,14 @@ {$category} {foreach from=$settings item="value" key="name"} - - {$name|escape} - {$value|escape} - + + {$name|escape} + {if $value == "password"} + ************** + {else} + {$value|escape} + {/if} + {/foreach} {/foreach}