forked from nathalie/pedi2
Cambia contraseña default a "123"
This commit is contained in:
parent
31bc076989
commit
eed099245b
1 changed files with 4 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use League\Csv\Reader;
|
||||
|
||||
class GrupoDeCompraSeeder extends Seeder
|
||||
|
@ -31,14 +33,14 @@ class GrupoDeCompraSeeder extends Seeder
|
|||
|
||||
$usersToInsert[] = [
|
||||
'name' => $registro['barrio'],
|
||||
'password' => Hash::make("asd"),
|
||||
'password' => Hash::make("123"),
|
||||
"is_admin" => 0,
|
||||
'grupo_de_compra_id' => $key
|
||||
];
|
||||
|
||||
$usersToInsert[] = [
|
||||
'name' => $registro['barrio'] . "_admin",
|
||||
'password' => Hash::make("asd"),
|
||||
'password' => Hash::make("123"),
|
||||
"is_admin" => 1,
|
||||
'grupo_de_compra_id' => $key
|
||||
];
|
||||
|
|
Loading…
Add table
Reference in a new issue