Manager: hide _password value in sessions explorer

This commit is contained in:
Clément Oudot 2010-01-22 22:03:18 +00:00
parent 95e29fd733
commit 8a4e23f6a5

View File

@ -251,6 +251,9 @@ sub process {
'<p><b>Attributs et macros :</b></p><table border="0" witdh="100%">';
foreach my $attr ( sort keys %h ) {
next if ( $attr =~ /^(?:_utime|groups)$/ );
# Hide password value
if ( $attr =~ /^_password$/ ) { $h{$attr} = "******"; }
print '<tr valign="top"><th style="text-align:left;">'
. htmlquote($attr)
. '</th><td>:</td><td>'