X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FClientAPI%2FSignup.pm;h=a9678b051ae7d557abd345de132c1defb9fb52eb;hb=b5a9068479a38c2b901b1954a57c51f43e84be2d;hp=3208396b9f56bb9fb750a923dea56fb9143b4fad;hpb=bc03aa6e1cebc712789dfc254901c6f8d8935057;p=freeside.git diff --git a/FS/FS/ClientAPI/Signup.pm b/FS/FS/ClientAPI/Signup.pm index 3208396b9..a9678b051 100644 --- a/FS/FS/ClientAPI/Signup.pm +++ b/FS/FS/ClientAPI/Signup.pm @@ -698,6 +698,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;