2FAuth/database/seeds/UsersTableSeeder.php
2019-06-06 13:40:06 +02:00

22 lines
384 B
PHP

<?php
use App\User;
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
User::create([
'name' => 'admin',
'email' => 'admin@example.org',
'password' => bcrypt('password'),
]);
}
}