fix: BE and LU postal codes were not allowed

This commit is contained in:
Noah Lancien 2024-06-25 11:44:24 +02:00
parent 6a4fae3552
commit a0027a7747
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ class CreateAccountRequest extends FormRequest
'phone' => 'nullable|max:255|phone:FR',
'address' => 'required|string|min:1|max:255',
'address2' => 'nullable|string|min:1|max:255',
'postal_code' => 'required|string|min:1|postal_code:FR',
'postal_code' => 'required|string|min:1|postal_code:FR,BE,LU',
'city' => 'required|string|min:2|max:255',
'birth_date' => ['required', new IsAdult(trans('Vous devez être majeur pour vous inscrire.'))],
'country' => [

View file

@ -1,6 +1,6 @@
{
"name": "uwil/gen-game-web",
"version": "2.3.1",
"version": "2.3.2",
"type": "project",
"description": "Game generator",
"support": {