diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-01-05 22:19:26 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-01-05 22:26:04 -0600 |
commit | e32f1ceeb6f267ab6d3279bf350d192d4bf1a72e (patch) | |
tree | 79edd38d8b811002386ce2a69f46cb960ceecbf8 /httemplate/edit | |
parent | 1667ab631f9fbd0f4ceeb6ec000b0f4ff3ddb51a (diff) |
RT#39481: Password Maximum Length
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/cust_main/first_pkg/svc_acct.html | 2 | ||||
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 2 |
2 files changed, 2 insertions, 2 deletions
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; </%init> 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); |