X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fsvc_acct.pm;h=53b12f181278c5653a815fec6d1bb30971b2289f;hb=ebeb3e934b36f6bdef358fe1b4264a9afb5a9c3b;hp=38cebc1de3726be7b5729af41ac3170dbfea5685;hpb=ec4b7d78854b287347eb08a8f99d18c5d41065f5;p=freeside.git diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 38cebc1de..53b12f181 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -2686,6 +2686,7 @@ sub password_svc_check { my ($self, $password) = @_; foreach my $field ( qw(username finger) ) { foreach my $word (split(/\W+/,$self->get($field))) { + next unless length($word) > 2; if ($password =~ /$word/i) { return qq(Password contains account information '$word'); }