Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

Commit 6e767d1

Browse files
committed
Убран конфиг несуществующего пакета. Merge
2 parents e137874 + a473702 commit 6e767d1

File tree

4 files changed

+15
-4256
lines changed

4 files changed

+15
-4256
lines changed

app/Http/Controllers/Auth/RegisterController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace App\Http\Controllers\Auth;
44

55
use App\User;
6-
use Validator;
76
use App\Http\Controllers\Controller;
87
use Illuminate\Foundation\Auth\RegistersUsers;
98

@@ -47,7 +46,7 @@ public function __construct()
4746
*/
4847
protected function validator(array $data)
4948
{
50-
return Validator::make($data, [
49+
return $this->getValidationFactory()->make($data, [
5150
'name' => 'required|max:255',
5251
'email' => 'required|email|max:255|unique:users',
5352
'password' => 'required|min:6|confirmed',

0 commit comments

Comments
 (0)