Comments (5)
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'
],
],
from laravel-magiclink.
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.
from laravel-magiclink.
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
from laravel-magiclink.
@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.
from laravel-magiclink.
Thank you good man
from laravel-magiclink.
Related Issues (20)
- Make a link invalid HOT 1
- Call to a member function run() on null HOT 4
- Ability to change the base url HOT 3
- File Name HOT 1
- Feature request: Ask for access code before download start HOT 4
- Set path in cookie HOT 4
- [QUESTION] How to overwrite or extend middleware HOT 4
- How can I use it in Android app? HOT 1
- Data too long for column 'action' at row 1 HOT 2
- Serialization of 'Closure' is not allowed HOT 3
- Unable to create or change a table without a primary key HOT 2
- phpstorm detecting an error HOT 3
- publishing migrations HOT 1
- Custom `getConnectionName` not called on extended `MagicLink` model due to usage of `self` instead of `static` HOT 1
- Feature Request: Use Prunable trait
- How to get the reason for invalid link HOT 1
- Possible to set "remember me"? HOT 3
- How do I customize my code access view? HOT 2
- HEAD request increases num_visits HOT 2
- Expiry date HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-magiclink.