Question

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

Posted January 9, 2020 665 views
Nginx

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 ?

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.

×
1 answer

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

Submit an Answer