Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ajeeeunni's avatar

Laravel authentication not working in Shared hosting

I moved my Laravel project from local server to shared hosting server. But after moving authentication not working which is working fine in local server. I have fond a solution in http://codetheory.in/fixing-laravel-basic-auth-failure/#comment-1910601 but it's also not working.

When we try to login with a username and password, after submitting normally it will go to dashboard. But in this case it's redirect back to login page. Also it's not logged it too

Please help to solve this.

0 likes
1 reply
d3xt3r's avatar

Be more verbose. What is not working, what are doing and what's happening. Better, if any errors, attach the backtrace.

Please or to participate in this conversation.