fix: make phone number mandatory on registration and profile edit

This commit is contained in:
Valentin Lab
2026-02-09 09:16:37 +01:00
parent b763915211
commit 3d4496b253
3 changed files with 14 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ class RegisterCustomer extends FormRequest
'last_name' => 'required|max:255',
'first_name' => 'required|max:255',
'email' => 'required|email|max:255|unique:shop_customers,email,NULL,id,deleted_at,NULL',
'phone' => 'required|max:30',
'password' => ['required', 'confirmed', new Password()],
];
}