laravel-magiclink icon indicating copy to clipboard operation
laravel-magiclink copied to clipboard

Prevent head requests triggering run on null

Open jamesdb opened this issue 7 months ago • 0 comments

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. 👍

jamesdb avatar Jul 15 '24 12:07 jamesdb