summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorivan <ivan>2005-09-07 12:44:59 +0000
committerivan <ivan>2005-09-07 12:44:59 +0000
commit7740fe6ad808f8dd9b3ed157735a768073547a70 (patch)
tree869fb9b80527156904fe17392a391165c3157b39 /httemplate/edit
parent2bb8b57782d966c231947bc4e82feed552a55b51 (diff)
fix silly bug sizing username field when adding an account (and username max is not set)
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/svc_acct.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi
index f1b8b800b..57227d4bc 100755
--- a/httemplate/edit/svc_acct.cgi
+++ b/httemplate/edit/svc_acct.cgi
@@ -97,7 +97,7 @@ if ( $svc_acct->_password ) {
}
my $ulen = $conf->config('usernamemax')
- || $svc_acct->dbdef_table->column('username')->length;
+ || dbdef->table('svc_acct')->column('username')->length;
my $ulen2 = $ulen+2;
my $pmax = $conf->config('passwordmax') || 8;