aboutsummaryrefslogtreecommitdiffhomepage
path: root/database
diff options
context:
space:
mode:
Diffstat (limited to 'database')
-rw-r--r--database/seeds/DatabaseSeeder.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php
index db0f2fd..b31b7e0 100644
--- a/database/seeds/DatabaseSeeder.php
+++ b/database/seeds/DatabaseSeeder.php
@@ -2,6 +2,7 @@
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
+use Illuminate\Support\Facades\Hash;
class DatabaseSeeder extends Seeder
{
@@ -23,8 +24,8 @@ class DatabaseSeeder extends Seeder
DB::table('users')->insert([
'name' => 'Marvin Borner',
'email' => 'marvin@borners.de',
- 'password' => bcrypt('password'),
- 'hash' => bcrypt(bcrypt('genesis') . 'Marvin Borner'. 'marvin@borners.de'. 'password') // hashing: prev hash, all fields in current 'block'
+ 'password' => Hash::make('password'),
+ 'hash' => Hash::make(Hash::make('genesis') . 'Marvin Borner' . 'marvin@borners.de' . Hash::make('password')) // hashing: prev hash, all fields in current 'block'
]);
}
}