summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-09-05 08:01:29 +0000
committerivan <ivan>2003-09-05 08:01:29 +0000
commitfde47ced3934644dc4722d9547e9c4b34a2a2ea0 (patch)
treeb8104569efd181313a1d6931d8e774cbc4ca4362 /FS/FS
parent26ff2b45ce893fa83baffc60dea898df887e7b1d (diff)
allow up to 60 char encrypted passwords for blowfish
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/svc_acct.pm2
1 files changed, 1 insertions, 1 deletions
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} = '*';