diff --git a/database/seeds/MinePoSInstaller.php b/database/seeds/MinePoSInstaller.php index c9e3f578..9cad582f 100755 --- a/database/seeds/MinePoSInstaller.php +++ b/database/seeds/MinePoSInstaller.php @@ -18,5 +18,7 @@ public function run() $u->email = "admin@minepos.net"; $u->password = \Hash::make("password"); $u->save(); + + $u->assignRole(\Spatie\Permission\Models\Role::all()->first()); } }