Skip to content

Commit

Permalink
#7716: Hide DB password in the administration "system info" page (#7755)
Browse files Browse the repository at this point in the history
* Redacts DB password

* Reduced changes to 4 lines

* Removed extra line
  • Loading branch information
Tyl13 authored and asmecher committed Mar 11, 2022
1 parent 8878793 commit a2db11e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions templates/admin/systemInfo.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,14 @@
<td colspan="2" class="app--admin__systemInfoGroup">{$category}</td>
</tr>
{foreach from=$settings item="value" key="name"}
<tr>
<td>{$name|escape}</td>
<td>{$value|escape}</td>
</tr>
<tr>
<td>{$name|escape}</td>
{if $value == "password"}
<td>**************</td>
{else}
<td>{$value|escape}</td>
{/if}
</tr>
{/foreach}
</tbody>
{/foreach}
Expand Down

0 comments on commit a2db11e

Please sign in to comment.