Closed nick-potts closed 7 months ago
Hi @nick-potts, why is this necessary? Isn't this already done via Auth::login()
?
I've never had to do this in any Laravel app previously
Confirmed that this isn't needed as Laravel already handles this under the hood.
Laravel does the session automatically, but not the CSRF token - which is covered by this.
Not a huge issue, but laravel does recommend it in the docs: https://laravel.com/docs/11.x/authentication#authenticating-users
Thanks for the link @nick-potts! News to me, had no idea, appreciate the PR 🙏
fixes #1