giorg

laravel-admin requirements

Posted 9 months ago by giorg

Hi, doing these steps in my valet environment:

  • composer create-project --prefer-dist laravel/laravel
  • php artisan migrate
  • composer require encore/laravel-admin
  • php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
  • php artisan admin:install

everything is perfect. Doing the same steps on the server where the production will be, I cannot login. After some debugging, I found the middleware Authenticate: here, inside the function

public function handle($request, Closure $next)

this:

return $next($request);

in my valet returns the redirect to the admin dashboard, on the production server back to the login form. How to debug further? What can be different in the two environments?

Thanks a lot

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.