[freeside-commits] freeside/httemplate/edit svc_acct.cgi, 1.48, 1.49
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Sep 27 14:26:52 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv14962
Modified Files:
svc_acct.cgi
Log Message:
hide fixed passwords
Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_acct.cgi,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- svc_acct.cgi 18 Jul 2007 03:24:25 -0000 1.48
+++ svc_acct.cgi 27 Sep 2007 21:26:50 -0000 1.49
@@ -161,6 +161,7 @@
</TD>
</TR>
+%if ( $part_svc->part_svc_column('_password')->columnflag ne 'F' ) {
<TR>
<TD ALIGN="right">Password</TD>
<TD>
@@ -168,9 +169,13 @@
(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' ) {
%
More information about the freeside-commits
mailing list