@@ -2,7 +2,6 @@ |
||
| 2 | 2 | namespace App\Modules\Core\Http\Controllers; |
| 3 | 3 | |
| 4 | 4 | use App\Http\Controllers\Controller; |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | |
| 7 | 6 | class ApiDocumentController extends Controller |
| 8 | 7 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Illuminate\Notifications\Notification; |
| 7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
| 8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
| 9 | -use Illuminate\Notifications\Messages\BroadcastMessage; |
|
| 10 | 9 | |
| 11 | 10 | class ResetPassword extends Notification implements ShouldQueue |
| 12 | 11 | { |
@@ -13,31 +13,31 @@ |
||
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | 15 | Schema::create('users', function (Blueprint $table) { |
| 16 | - $table->increments('id'); |
|
| 17 | - $table->string('profile_picture', 150)->nullable(); |
|
| 18 | - $table->string('name', 100)->nullable(); |
|
| 19 | - $table->string('email')->unique(); |
|
| 20 | - $table->string('password', 60)->nullable(); |
|
| 21 | - $table->boolean('blocked')->default(0); |
|
| 22 | - $table->boolean('confirmed')->default(0); |
|
| 23 | - $table->string('confirmation_code')->nullable(); |
|
| 24 | - $table->softDeletes(); |
|
| 25 | - $table->rememberToken(); |
|
| 26 | - $table->timestamps(); |
|
| 27 | - }); |
|
| 16 | + $table->increments('id'); |
|
| 17 | + $table->string('profile_picture', 150)->nullable(); |
|
| 18 | + $table->string('name', 100)->nullable(); |
|
| 19 | + $table->string('email')->unique(); |
|
| 20 | + $table->string('password', 60)->nullable(); |
|
| 21 | + $table->boolean('blocked')->default(0); |
|
| 22 | + $table->boolean('confirmed')->default(0); |
|
| 23 | + $table->string('confirmation_code')->nullable(); |
|
| 24 | + $table->softDeletes(); |
|
| 25 | + $table->rememberToken(); |
|
| 26 | + $table->timestamps(); |
|
| 27 | + }); |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Create Default users. |
| 31 | 31 | */ |
| 32 | 32 | \DB::table('users')->insertGetId( |
| 33 | - [ |
|
| 33 | + [ |
|
| 34 | 34 | 'name' => 'Admin', |
| 35 | 35 | 'email' => '[email protected]', |
| 36 | 36 | 'password' => bcrypt('123456'), |
| 37 | 37 | 'created_at' => \DB::raw('NOW()'), |
| 38 | 38 | 'updated_at' => \DB::raw('NOW()') |
| 39 | 39 | ] |
| 40 | - ); |
|
| 40 | + ); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Illuminate\Notifications\Notification; |
| 7 | 7 | use Illuminate\Contracts\Queue\ShouldQueue; |
| 8 | 8 | use Illuminate\Notifications\Messages\MailMessage; |
| 9 | -use Illuminate\Notifications\Messages\BroadcastMessage; |
|
| 10 | 9 | |
| 11 | 10 | class ConfirmEmail extends Notification implements ShouldQueue |
| 12 | 11 | { |