diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php index 3a374f251b0..aa6cfee42c2 100644 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -21,10 +21,10 @@ public function up() $table->timestamps(); }); - \BookStack\User::create([ + \BookStack\User::forceCreate([ 'name' => 'Admin', 'email' => 'admin@admin.com', - 'password' => \Illuminate\Support\Facades\Hash::make('password') + 'password' => bcrypt('password') ]); }