<?php

use App\Judite\Models\User;
use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        User::create([
            'name' => 'Administrator',
            'email' => 'contact@hackathonners.org',
            'password' => bcrypt('123456'),
            'is_admin' => true,
        ]);
    }
}

<?php

use App\Judite\Models\User;
use Illuminate\Database\Seeder;

class UsersTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        User::create([
            'name' => 'Administrator',
            'email' => env('ADMIN_EMAIL') ?? 'contact@hackathonners.org',
            'password' => bcrypt(env('ADMIN_PASSWORD') ?? '123456'),
            'is_admin' => true,
        ]);
    }
}

Allow admin credentials to be configured in .env file
Allow admin credentials to be configured in .env file
