laravel-magiclink
laravel-magiclink copied to clipboard
Prevent head requests triggering run on null
Resolves #106.
I'm fairly confident that these errors are being triggered by HEAD requests. I've verified this by generating a magiclink in my application, deleting the entry inside magic_links
then performing a HEAD
request to the deleted magiclink url.
After adjusting the MagiclinkMiddleware
so it returns a 200 or 404 based on the validity of the Magiclink, this error no longer occurs. 👍