소스 검색

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