missed failout return from email validator
This commit is contained in:
parent
7614b7bc2e
commit
56fc868786
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ sub register {
|
||||||
return 1 unless defined( $postcode );
|
return 1 unless defined( $postcode );
|
||||||
return 1 if $postcode->partial;
|
return 1 if $postcode->partial;
|
||||||
return undef if $postcode->valid;
|
return undef if $postcode->valid;
|
||||||
|
return 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
$app->validator->add_check( number => sub {
|
$app->validator->add_check( number => sub {
|
||||||
|
|
Reference in a new issue