From e32f1ceeb6f267ab6d3279bf350d192d4bf1a72e Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Tue, 5 Jan 2016 22:19:26 -0600 Subject: RT#39481: Password Maximum Length --- httemplate/edit/cust_main/first_pkg/svc_acct.html | 2 +- httemplate/edit/svc_acct.cgi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'httemplate/edit') diff --git a/httemplate/edit/cust_main/first_pkg/svc_acct.html b/httemplate/edit/cust_main/first_pkg/svc_acct.html index 8308af431..3644d62f9 100644 --- a/httemplate/edit/cust_main/first_pkg/svc_acct.html +++ b/httemplate/edit/cust_main/first_pkg/svc_acct.html @@ -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; diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 0cf0c20e1..ca26c6cf0 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -553,7 +553,7 @@ my $ulen = : dbdef->table('svc_acct')->column('username')->length; my $ulen2 = $ulen+2; -my $pmax = max($conf->config('passwordmax') || 13); +my $pmax = max($conf->config('passwordmax') || 12); my $pmax2 = $pmax+2; my $p1 = popurl(1); -- cgit v1.2.1