Closed Wanztwurst closed 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.
HasRoles
php artisan make:superuser
Fix: use Konekt\Acl\Traits\HasRoles
Konekt\Acl\Traits\HasRoles
Sent a pull request
The example for the flexible User doesn't use the
HasRoles
trait and thus fails when creating the super user withphp artisan make:superuser
.Fix: use
Konekt\Acl\Traits\HasRoles