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