Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -21,10 +21,10 @@ class CreateUsersTable extends Migration | ... | @@ -21,10 +21,10 @@ class CreateUsersTable extends Migration |
| 21 | $table->timestamps(); | 21 | $table->timestamps(); |
| 22 | }); | 22 | }); |
| 23 | 23 | ||
| 24 | - \BookStack\User::create([ | 24 | + \BookStack\User::forceCreate([ |
| 25 | 'name' => 'Admin', | 25 | 'name' => 'Admin', |
| 26 | 'email' => 'admin@admin.com', | 26 | 'email' => 'admin@admin.com', |
| 27 | - 'password' => \Illuminate\Support\Facades\Hash::make('password') | 27 | + 'password' => bcrypt('password') |
| 28 | ]); | 28 | ]); |
| 29 | } | 29 | } |
| 30 | 30 | ... | ... |
-
Please register or sign in to post a comment