diff options
author | jeff <jeff> | 2007-09-27 21:26:50 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-09-27 21:26:50 +0000 |
commit | 005dd80b3980abeeb657fd855158a05413983717 (patch) | |
tree | 729917f1fb697c166252383434c21754fa8da07e /httemplate/edit | |
parent | e3dd31c479fb51c2a543ef3c0d7aff59bc44d6f4 (diff) |
hide fixed passwords
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 7 |
1 files changed, 6 insertions, 1 deletions
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 ? "<B>$svcnum</B>" : " (NEW)" %><BR> </TD> </TR> +%if ( $part_svc->part_svc_column('_password')->columnflag ne 'F' ) { <TR> <TD ALIGN="right">Password</TD> <TD> @@ -168,9 +169,13 @@ Service # <% $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR> (blank to generate) </TD> </TR> +%}else{ + <INPUT TYPE="hidden" NAME="_password" VALUE="<% $password %>"> +%} % %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' ) { % |