Level 122
you could put auth()->check() in the render method and redirect if not logged in
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
i have a livewire component for loading my dashboard, the routes to this is protected by auth. now when the page expires the livewire doesnt care it tries to work normally it doesnt respect the session 419.
Please or to participate in this conversation.