Skip to content

Commit

Permalink
proof of address nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
hafijul233 committed May 28, 2024
1 parent ddc1aaa commit 8dd4569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
'employer.employer_name' => ['string', 'nullable'],
'employer.company_address' => ['string', 'nullable'],
'employer.company_registration_number' => ['string', 'nullable'],
'proof_of_address' => ['array', 'required', 'min:1'],
'proof_of_address' => ['array'],
'proof_of_address.*.type' => ['string', 'required'],
'proof_of_address.*.back' => ['string', 'required_without:proof_of_address.*.front'],
'proof_of_address.*.front' => ['string', 'required_without:proof_of_address.*.back'],
Expand Down

0 comments on commit 8dd4569

Please sign in to comment.