password viewing UI change
authorivan <ivan>
Thu, 29 Aug 2002 05:57:47 +0000 (05:57 +0000)
committerivan <ivan>
Thu, 29 Aug 2002 05:57:47 +0000 (05:57 +0000)
httemplate/view/svc_acct.cgi

index f6c1b02..19953ba 100755 (executable)
@@ -83,7 +83,7 @@ if ( $password =~ /^\*\w+\* (.*)$/ ) {
   print "<I>(login disabled)</I> ";
 }
 if ( $conf->exists('showpasswords') ) {
-  print "$password";
+  print '<PRE>'. encode_entities($password). '</PRE>';
 } else {
   print "<I>(hidden)</I>";
 }