commit bc1be5bfb5b206c8579f3a0ac3c195a92b2512ef
parent be4248c853074fe7ca4af660c29138e4c2f28213
Author: Felicitus <felicitus@felicitus.org>
Date: Sun, 25 Mar 2012 20:40:36 +0200
Fix for issue #159
Diffstat:
2 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php b/src/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php
@@ -39,6 +39,12 @@ class SystemService extends Service {
foreach (Configuration::getOptions() as $key => $value) {
+
+ // Hide passwords
+ if ($key == "partkeepr.database.password" || $key == "partkeepr.migration.partdb.password") {
+ $value = "<hidden>";
+ }
+
$aData[] = new SystemInformationRecord($key, $value, "PartKeepr Configuration Information");
}
// TODO: add information about post max, file upload size, timeout, memory limit
diff --git a/src/frontend/js/Components/SystemInformation/SystemInformationGrid.js b/src/frontend/js/Components/SystemInformation/SystemInformationGrid.js
@@ -13,6 +13,7 @@ Ext.define('PartKeepr.SystemInformationGrid', {
},{
header: 'Value',
dataIndex: 'value',
+ renderer: 'htmlEncode',
flex:1
},{
header: 'Category',