From: ivan Date: Fri, 27 Sep 2002 12:14:34 +0000 (+0000) Subject: allow + in md5 encrypted passwords X-Git-Tag: freeside_1_4_1beta4~27 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=d0dbbe00d71aa3cc77c50b9919e1622195823c71;p=freeside.git allow + in md5 encrypted passwords --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 314ac4df5..5228f6c40 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -800,7 +800,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,34})$/ ) { $recref->{_password} = $1.$3; } elsif ( $recref->{_password} eq '*' ) { $recref->{_password} = '*';