-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add redirect path in config, if link is not valid #22
Comments
I've been thinking about this for a few days. Maybe something like this: 'invalid_response' => [
/*
| Method called when magiclink is invalid, method accepted: response, view, redirect, abort
*/
'method' => 'response',
'arguments => [
'forbidden',
'403'
],
], |
I submitted a pull request to define the controller where you could do whatever you'd want. I think it'd cover this situation for the user as well. |
Thank you |
@yelyas20 In the version 2.4.0, you have this features: https://github.com/cesargb/laravel-magiclink#custom-response-when-magiclink-is-invalid I hope the documentation is clear enough. |
Thank you good man |
I need to set a link that contains message to user that says your link is not valid because...
The link should be set in config file
Thanks
The text was updated successfully, but these errors were encountered: