X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_acct.cgi;h=3fa7019eb073f044d14bf4ac79165b230fff2a83;hb=f255042296a645e7d90c19ee6740796250cfb9f3;hp=4bc81c9fdb82bd5ebaeceebae439eca7ec94b4e5;hpb=0b0f8fb76939a617b142595672cc15e034ab7336;p=freeside.git diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 4bc81c9fd..3fa7019eb 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,8 +104,7 @@ print 'Service # '. ( $svcnum ? "$svcnum" : " (NEW)" ). '
'. END -print &itable("#cccccc",2), < +print &ntable("#cccccc",2), <Username Password