From f35655ae23a80ced7363e6411bcacd5136aafeb8 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 27 Sep 2007 21:25:19 +0000 Subject: [PATCH] hide fixed passwords --- httemplate/edit/svc_acct.cgi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index d4adbc9e5..f9c407472 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -161,6 +161,7 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
+%if ( $part_svc->part_svc_column('_password')->columnflag ne 'F' ) { Password @@ -168,9 +169,13 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
(blank to generate) +%}else{ + +%} % %my $sec_phrase = $svc_acct->sec_phrase; -%if ( $conf->exists('security_phrase') ) { +%if ( $conf->exists('security_phrase') +% && $part_svc->part_svc_column('sec_phrase')->columnflag ne 'F' ) { % -- 2.20.1