sfelix-martins / passport-multiauth

Add support to multi-authentication to Laravel Passport
MIT License
288 stars 51 forks source link

Change manual throwing AuthenticationException to unauthenticated() method #130

Closed webard closed 4 years ago

webard commented 4 years ago

There are some cases when you need overload unauthenticated() method. One of is throwing Nuwave\Lighthouse\Exceptions\AuthenticationException instead of original, to correct return error message.