joselfonseca / lighthouse-graphql-passport-auth

Add GraphQL mutations to get tokens from passport for https://lighthouse-php.com/
https://lighthouse-php-auth.com/
MIT License
231 stars 55 forks source link

Method does not exist when using "passport" as driver in guards in auth.php config #121

Closed webard closed 3 years ago

webard commented 3 years ago

https://github.com/joselfonseca/lighthouse-graphql-passport-auth/blob/3da831efbbab68bf0c3b859c7641f4c2300ca060/src/GraphQL/Mutations/VerifyEmail.php#L41

Method is present with "session" as a driver, but it is make no sense when you use Passport.