Closed theiconnz closed 2 years ago
Will update this ticket of my own, if someone have same issue.
Issue is related to roles. Create a new role and then run the admin:create-user command.
My original issue was since I have run migrate:refresh default user was not working. so I tried to create admin user. But admin roles were also refreshed so it generated the error
You can find more information Encore\Admin\Console\CreateUserCommand.php
Another option is to run php artisan admin:install
Description:
Try to create a new admin user but generate LogicException error
Steps To Reproduce:
php artisan admin:create-user
First three questions worked Please enter a username to login: Please enter a password to login: Please enter a name to display:
Once I entered the display name and press enter. It generate an error.