Hi, doing these steps in my valet environment:
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
Try to clear your configs in production
php artisan config:clear
P.S. I supposed you have configured .env file
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community