Browse Source

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 năm trước cách đây
mục cha
commit
472d95489f
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  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