diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index bc2055a..a8150d8 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -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'],