X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_acct.cgi;h=e42745cf7dcd49a17df5c0b5d6ac04ee69861951;hb=505345d25040f78a9fdffa5666cd6b9f41a117a5;hp=4bc81c9fdb82bd5ebaeceebae439eca7ec94b4e5;hpb=0b0f8fb76939a617b142595672cc15e034ab7336;p=freeside.git
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index 4bc81c9fd..e42745cf7 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -81,7 +81,8 @@ if ( $svc_acct->_password ) {
$password = '';
}
-my $ulen = $svc_acct->dbdef_table->column('username')->length;
+my $ulen = $conf->config('usernamemax')
+ || $svc_acct->dbdef_table->column('username')->length;
my $ulen2 = $ulen+2;
my $pmax = $conf->config('passwordmax') || 8;
@@ -103,7 +104,7 @@ print 'Service # '. ( $svcnum ? "$svcnum" : " (NEW)" ). '
'.
END
-print &itable("#cccccc",2), <
| Username |
|