If you upgrade the old version change in composer.json
"laravelrus/sleepingowl": "^7.*"
after run composer update laravelrus/sleepingowl
and run php artisan sleepingowl:update for update assets
Run this command in the terminal (if you want to know more about what exactly this command does, see install command documentation):
php artisan sleepingowl:install
Authentication
By default, admin module uses Laravel authentication.
If you want to use auth, you can run artisan command php artisan make:auth (https://laravel.com/docs/authentication)
and append middleware auth to config/sleeping_owl.php
...'middleware' => ['web', 'auth']
...
Setting up middleware
By default auth middleware use default guard, selected in config/auth.php
请发表评论