wip
This commit is contained in:
1 parent
07eb044a2b
commit
39e1f92503
1 file changed
+1
-1
@@ -62,7 +62,7 @@ public function register(Request $request)
|
|||||||
*/
|
*/
|
||||||
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