@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers\Auth; |
| 4 | 4 | |
| 5 | -use App\User; |
|
| 6 | -use Validator; |
|
| 7 | 5 | use App\Http\Controllers\Controller; |
| 8 | -use Illuminate\Foundation\Auth\ThrottlesLogins; |
|
| 6 | +use App\User; |
|
| 9 | 7 | use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; |
| 8 | +use Illuminate\Foundation\Auth\ThrottlesLogins; |
|
| 9 | +use Validator; |
|
| 10 | 10 | |
| 11 | 11 | class AuthController extends Controller |
| 12 | 12 | { |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | { |
| 55 | 55 | $router->group([ |
| 56 | 56 | 'namespace' => $this->namespace, 'middleware' => 'web', |
| 57 | - ], function ($router) { |
|
| 57 | + ], function($router) { |
|
| 58 | 58 | require app_path('Http/routes.php'); |
| 59 | 59 | }); |
| 60 | 60 | } |
@@ -11,6 +11,6 @@ |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -Route::get('/', function () { |
|
| 14 | +Route::get('/', function() { |
|
| 15 | 15 | return view('welcome'); |
| 16 | 16 | }); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | | |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -$factory->define(App\User::class, function (Faker\Generator $faker) { |
|
| 14 | +$factory->define(App\User::class, function(Faker\Generator $faker) { |
|
| 15 | 15 | return [ |
| 16 | 16 | 'name' => $faker->name, |
| 17 | 17 | 'email' => $faker->safeEmail, |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('password_resets', function (Blueprint $table) { |
|
| 15 | + Schema::create('password_resets', function(Blueprint $table) { |
|
| 16 | 16 | $table->string('email')->index(); |
| 17 | 17 | $table->string('token')->index(); |
| 18 | 18 | $table->timestamp('created_at'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('users', function (Blueprint $table) { |
|
| 15 | + Schema::create('users', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('email')->unique(); |