[freeside-commits] freeside/httemplate/edit svc_acct.cgi, 1.45.2.3, 1.45.2.4
Jeff Finucane,420,,
jeff at wavetail.420.am
Thu Sep 27 14:25:21 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv14909
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.45.2.3
retrieving revision 1.45.2.4
diff -u -d -r1.45.2.3 -r1.45.2.4
--- svc_acct.cgi 18 Jul 2007 03:23:29 -0000 1.45.2.3
+++ svc_acct.cgi 27 Sep 2007 21:25:19 -0000 1.45.2.4
@@ -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