Middleware response field customization
antimech opened this issue · 2 comments
antimech commented
It would be cool to be able to change login
for Laravel's default email
here:
And here:
This way it would work out-of-the-box with Laravel.
Currently my workaround is middleware override.
antonkomarev commented
There are many middleware issues at this moment, because its pretty hard to make them generic for all of the projects. Personally I write my own implementations for them and using these middlewares as an examples. I like your idea, it will be good to have them work with default Laravel installation out of the box.
It's a breaking change and could be done only in next major release.
antimech commented
@antonkomarev thanks!