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

golden's avatar

Laravel 5 auth after deploy issue.

Hi guys, I just deployed my Laravel 5 application to my VPS and detected an issue with native Laravel Auth. I do $this->auth->attempt($credentials), it returns true. BUT! User is not authenticating! What can it be? Cookie is created. No errors. Maybe some apache/php settings, that i missed? Will appreciate for any help! On local (Windows) it works like a charm.

0 likes
2 replies
Mo7sin's avatar

Check laravel.log, any log message will help.

golden's avatar

The trouble is that there are no errors in laravel/php/apache logs :( I can only imagine, what is that.

Please or to participate in this conversation.