This repository was archived by the owner on Apr 19, 2022. It is now read-only.
Commit 6643c48 1 parent 09c360f commit 6643c48 Copy full SHA for 6643c48
File tree 5 files changed +6
-4
lines changed
5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 166
166
/*
167
167
* Package Service Providers...
168
168
*/
169
- // SocialiteProviders\Manager\ServiceProvider::class,
169
+ // SocialiteProviders\Manager\ServiceProvider::class,
170
170
171
171
/*
172
172
* Application Service Providers...
201
201
// 'Artisan' => Illuminate\Support\Facades\Artisan::class,
202
202
// 'Auth' => Illuminate\Support\Facades\Auth::class,
203
203
// 'Blade' => Illuminate\Support\Facades\Blade::class,
204
+ // 'Bus' => Illuminate\Support\Facades\Bus::class,
204
205
// 'Cache' => Illuminate\Support\Facades\Cache::class,
205
206
// 'Config' => Illuminate\Support\Facades\Config::class,
206
207
// 'Cookie' => Illuminate\Support\Facades\Cookie::class,
Original file line number Diff line number Diff line change 11
11
|
12
12
*/
13
13
14
+ /** @var \Illuminate\Database\Eloquent\Factory $factory */
14
15
$ factory ->define (App \User::class, function (Faker \Generator $ faker ) {
15
16
static $ password ;
16
17
17
18
return [
18
19
'name ' => $ faker ->name ,
19
- 'email ' => $ faker ->safeEmail ,
20
+ 'email ' => $ faker ->unique ()-> safeEmail ,
20
21
'password ' => $ password ?: $ password = bcrypt ('secret ' ),
21
22
'remember_token ' => str_random (10 ),
22
23
];
Original file line number Diff line number Diff line change 13
13
"laravel-elixir-webpack-official" : " ^1.0.2" ,
14
14
"lodash" : " ^4.14.0" ,
15
15
"vue" : " ^1.0.26" ,
16
- "vue-resource" : " ^0.9.3 "
16
+ "vue-resource" : " ^1.0.2 "
17
17
}
18
18
}
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ require('vue-resource');
26
26
*/
27
27
28
28
Vue . http . interceptors . push ( ( request , next ) => {
29
- request . headers [ 'X-CSRF-TOKEN' ] = Laravel . csrfToken ;
29
+ request . headers . set ( 'X-CSRF-TOKEN' , Laravel . csrfToken ) ;
30
30
31
31
next ( ) ;
32
32
} ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments