laravel-template icon indicating copy to clipboard operation
laravel-template copied to clipboard

Authenticate middleware redirect should return null for JSON requests

Open kielabokkie opened this issue 1 year ago • 0 comments

The redirectTo() function wasn’t returning null for JSON requests causing it to throw a 500 error for unauthenticated API requests.

kielabokkie avatar Mar 05 '23 08:03 kielabokkie