diff options
author | ivan <ivan> | 2003-09-05 08:01:30 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-09-05 08:01:30 +0000 |
commit | de7743c3f31094091fdb7c259ce5882528c09d75 (patch) | |
tree | 6a4fc1d341d1c610af9a0c533c2cb3ae0ca312aa | |
parent | 67cc182b29befd229ee767b287be904cb0f898e1 (diff) |
allow up to 60 char encrypted passwords for blowfish
-rw-r--r-- | FS/FS/svc_acct.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 5451e6775..1b1b3def7 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -826,7 +826,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} = '*'; |