X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FClientAPI%2FSignup.pm;h=df9ee88e56fd40f6eb24d61b26dee8c9e3024ce1;hb=db27e4da24fa49d91215bd8ef7a05895fa58c0f6;hp=5d719c4901d2384a27eb091da04c7f4ebe742152;hpb=a87e91ee19d14a6fc3da62f4b44a9628d32bb6a3;p=freeside.git diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index 5d719c490..df9ee88e5 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -645,9 +645,6 @@ sub new_customer { && ! $cust_main->paycvv && $conf->exists('signup-require_cvv'); - $cust_main->payinfo($cust_main->daytime) - if $cust_main->payby eq 'LECB' && ! $cust_main->payinfo; - my @invoicing_list = $packet->{'invoicing_list'} ? split( /\s*\,\s*/, $packet->{'invoicing_list'} ) : (); @@ -694,6 +691,9 @@ sub new_customer { map { $_ => $packet->{$_} } qw( username _password sec_phrase popnum domsvc ), }; + + my $error = $svc->is_password_allowed($packet->{_password}); + return { error => $error } if $error; my @acct_snarf; my $snarfnum = 1;