vanilophp / docs

Vanilo Documentation (Laravel E-commerce)
https://vanilo.io/docs/
6 stars 9 forks source link

Installation: php artisan make:superuser fails with flexible User example #14

Closed Wanztwurst closed 4 years ago

Wanztwurst commented 4 years ago
Call to undefined method App\Models\User::assignRole()

The example for the flexible User doesn't use the HasRoles trait and thus fails when creating the super user with php artisan make:superuser.

Fix: use Konekt\Acl\Traits\HasRoles

Wanztwurst commented 4 years ago

Sent a pull request