wip
This commit is contained in:
@@ -62,7 +62,7 @@ class RegisterController extends Controller
|
|||||||
*/
|
*/
|
||||||
protected function validator(array $data)
|
protected function validator(array $data)
|
||||||
{
|
{
|
||||||
$data['phone'] = unMaskPhone($data);
|
$data['phone'] = unMaskPhone($data['phone']);
|
||||||
|
|
||||||
return Validator::make($data, [
|
return Validator::make($data, [
|
||||||
'name' => ['required', 'string', 'max:255'],
|
'name' => ['required', 'string', 'max:255'],
|
||||||
|
|||||||
Reference in New Issue
Block a user