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

starzyk_bartlomiej's avatar

Random issue with Laravel breeze

I have a basic laravel app that I've made using laravel breeze (the one with blade). It is deployed on VPS and has SSL certificate and domain. For some time there are no issues with, but in a while there are random problems with login. Instead of redirecting me to dashboard, I get for a second a blank page with token and credentials and I get redirected back to home page. Could it be related to cache?

this blank white page has only this: "_token=XPtcD3ED0Xieia1YEBtNA8jR3ZNSwziwrBPb6PeZ&email=admin%40gmail.com&password=Zaq12wsx Redirecting to {here's my domain name}."

0 likes
3 replies
jlrdw's avatar

@starzyk_bartlomiej I suggest checking for malwaure and suspicious scropts.

Also check code for stray echo statements, I have had small delays. For example I might have a test echo:

echo "yes you made it to controller";

@jeffreyway does similar in many of his videos.

martinbean's avatar

this blank white page has only this: "_token=XPtcD3ED0Xieia1YEBtNA8jR3ZNSwziwrBPb6PeZ&email=admin%40gmail.com&password=Zaq12wsx

@starzyk_bartlomiej This suggests you’re submitting your form as a GET request rather than a POST request, which you should not be doing. If you had installed Breeze, then Breeze would be submitting forms properly.

So, what have you changed (and why)?

Please or to participate in this conversation.