Laravel 5.8 login not working?

Jagadesha NH
May 28 · 1 min read

In recent version of laravel


is set to true by default, and hence cookies won’t work if your using http instead of https.

in .env change the line to


and it should work now.

Jagadesha NH

Written by

HI THERE! Welcome to my blog. I'm 'Jagadesha NH', passionate programmer, fun-loving web developer living in the 'Silicon Valley of India'.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade