Report this

What is the reason for this report?

After deploying my Laravel App on droplet I am getting 302 status code for logging

Posted on January 9, 2020

After successfully uploading my laravel app on droplet I am unable to login into my admin panel. I am getting 302 status code, even I enter wrong credential I dont see any validation. What is the readon behind it ?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

You need to make sure that you include the CSRF token to your login form.

Also, another thing that comes to my mind is, does your App URL specified in your .env file match the Droplet IP or the domain name that you are using to access your Laravel app?

Hope that this helps! Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.