浏览代码

Security: do not show actual encrypted values, display '*****' instead.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4101 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 9 年之前
父节点
当前提交
472d95489f
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      core/attributedef.class.inc.php

+ 7 - 0
core/attributedef.class.inc.php

@@ -5889,6 +5889,13 @@ class AttributeOneWayPassword extends AttributeDefinition
 	{
 		return ''; // Not exportable in XML
 	}
+	
+	public function GetValueLabel($sValue, $oHostObj = null)
+	{
+		// Don't display anything in "group by" reports
+		return '*****';
+	}
+	
 }
 
 // Indexed array having two dimensions