readable test user passwords
This commit is contained in:
parent
276b48b21c
commit
c08dc63b8f
@ -4,6 +4,7 @@ namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
|
||||
use App\Models\User;
|
||||
|
||||
@ -25,7 +26,7 @@ class UserSeeder extends Seeder
|
||||
User::create([
|
||||
'username' => 'admin',
|
||||
'email' => 'admin@ncob.com',
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
|
||||
'password' => Hash::make('admin'),
|
||||
'profile_picture' => '/images/samplePictures/Sample_User_Icon.png',
|
||||
'isAdmin' => '1'
|
||||
]);
|
||||
@ -33,14 +34,14 @@ class UserSeeder extends Seeder
|
||||
User::create([
|
||||
'username' => 'normalUser',
|
||||
'email' => 'normal@ncob.com',
|
||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi',
|
||||
'password' => Hash::make('normaluser'),
|
||||
'profile_picture' => '/images/samplePictures/Sample_User_Icon.png',
|
||||
]);
|
||||
|
||||
User::create([
|
||||
'username' => 'anon',
|
||||
'email' => 'anon@anon.anon',
|
||||
'password' => '$2y$10$UDygSgB3GfyHM3RX5X5XLu3BuK2/PjZayA1AyYQUIVMZyl77GYVKO',
|
||||
'password' => Hash::make('anon'),
|
||||
'profile_picture' => 'images/uploads/users/0IFeydcWKq3ZZ1lfSAxbIryOtoL1sxpcxpq00yJB.jpg',
|
||||
]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user