mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Update DatabaseSeeder.php
This commit is contained in:
parent
bf9148f622
commit
f2b436feff
@ -44,13 +44,13 @@ class DatabaseSeeder extends Seeder
|
|||||||
$admin = $this->roles->findBySlug('admin');
|
$admin = $this->roles->findBySlug('admin');
|
||||||
|
|
||||||
$this->users->unguard();
|
$this->users->unguard();
|
||||||
$this->users->newQuery()->where('email', "admin@visiosoft.com.tr")->forceDelete();
|
$this->users->newQuery()->where('email', "info@openclassify.com")->forceDelete();
|
||||||
$visiosoft_administrator = $this->users->create(
|
$visiosoft_administrator = $this->users->create(
|
||||||
[
|
[
|
||||||
'display_name' => 'Visiosoft Dev',
|
'display_name' => 'openclassify',
|
||||||
'email' => "admin@visiosoft.com.tr",
|
'email' => "info@openclassify.com",
|
||||||
'username' => "visiosoft",
|
'username' => "openclassify",
|
||||||
'password' => "visiosoft123",
|
'password' => "openclassify",
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -108,4 +108,4 @@ class DatabaseSeeder extends Seeder
|
|||||||
|
|
||||||
$this->call(widgetSeeder::class);
|
$this->call(widgetSeeder::class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user