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

How to get the reason for invalid link

Open rabol opened this issue 1 year ago • 1 comments

Hi

The config options invalid_response is working quite okay, but..

How do I figure out the reason for why the link is invalid?

is is because the token is invalid, after the life time or number of visits that is the reason ?

rabol avatar Feb 15 '23 12:02 rabol

Hoi @rabol

I understand that if in the response class I got the magicLink it would be enough. I'm right?

If you want to upload a PR add this option in the class constructor without breaking the current functionality. You are welcome

cesargb avatar Feb 28 '23 17:02 cesargb