cesargb / laravel-magiclink

Create link for authenticate in Laravel without password or get private content
MIT License
347 stars 42 forks source link

How to get the reason for invalid link #91

Open rabol opened 1 year ago

rabol commented 1 year ago

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 ?

cesargb commented 1 year ago

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