This commit is contained in:
2023-12-02 14:51:46 +05:00
parent 07eb044a2b
commit 39e1f92503

View File

@@ -62,7 +62,7 @@ class RegisterController extends Controller
*/
protected function validator(array $data)
{
$data['phone'] = unMaskPhone($data);
$data['phone'] = unMaskPhone($data['phone']);
return Validator::make($data, [
'name' => ['required', 'string', 'max:255'],