I've recently tried to use FormRequest and found out that it returns 403 response instead of throwing HttpException when authorisation fails:
Is it a bug or intended behaviour? I'm building a REST API and need unified JSON format for all errors. I've already customised my exception handler for that. But how am I supposed to track down all random pieces of code that decide to return a response by themselves?
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.