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 #131

Closed webard closed 1 year ago

webard commented 4 years ago

Sorry, my last PR was wrong, please delete it. 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.