render first_acct svc_acct._password fields are HTML password fields
[freeside.git] / httemplate / edit / cust_main / first_pkg / svc_acct.html
index 8308af4..4ffd7ea 100644 (file)
@@ -24,7 +24,7 @@
   <TR>
     <TH ALIGN="right"><% mt('Password') |h %></TD>
     <TD>
-      <INPUT TYPE      = "text"
+      <INPUT TYPE      = "password"
              NAME      = "_password"
              VALUE     = "<% $opt{'password'} |h %>"
              SIZE      = <% $pmax2 %>
@@ -39,7 +39,7 @@
     <TR>
       <TH ALIGN="right"><% mt('Re-enter Password') |h %></TD>
       <TD>
-        <INPUT TYPE      = "text"
+        <INPUT TYPE      = "password"
                NAME      = "_password2"
                VALUE     = "<% $opt{'password2'} |h %>"
                SIZE      = <% $pmax2 %>
@@ -78,7 +78,7 @@ my $conf = new FS::Conf;
 
 my $ulen = dbdef->table('svc_acct')->column('username')->length;
 my $ulen2 = $ulen+2;
-my $passwordmax = $conf->config('passwordmax') || 8;
+my $passwordmax = $conf->config('passwordmax') || 12;
 my $pmax2 = $passwordmax + 2;
 
 </%init>