From: ivan Date: Fri, 5 Sep 2003 08:01:29 +0000 (+0000) Subject: allow up to 60 char encrypted passwords for blowfish X-Git-Tag: freeside_1_5_0pre4^2~322 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=fde47ced3934644dc4722d9547e9c4b34a2a2ea0;p=freeside.git allow up to 60 char encrypted passwords for blowfish --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 0ee7a7286..f8495569e 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -819,7 +819,7 @@ sub check { #$recref->{password} = $1. # crypt($3,$saltset[int(rand(64))].$saltset[int(rand(64))] #; - } elsif ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([\w\.\/\$\;\+]{13,34})$/ ) { + } elsif ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([\w\.\/\$\;\+]{13,60})$/ ) { $recref->{_password} = $1.$3; } elsif ( $recref->{_password} eq '*' ) { $recref->{_password} = '*';