dusterio / lumen-passport

Making Laravel Passport work with Lumen
MIT License
654 stars 141 forks source link

Deprecated function revokeOtherAccessTokens #25

Closed aluferraz closed 7 years ago

aluferraz commented 7 years ago

Hi,

First of all, congratiolations for your package, it is really helpful !

I see that in the "Dusterio\LumenPassport\Http\Controllers\AccessTokenController" class you have the revokeOtherAccessTokens method, which calls the passport standard method revokeOtherAccessTokens.

However, the passport standard method "revokeOtherAccessTokens" is now deprecated and the source code does nothing more.. I couldn't find a quick replace for this method, but I saw this in the comments:

`/**

Could you please help me to get this to work again ?

Thanks !

dusterio commented 7 years ago

Try using the last development version (download from GitHub directly, not via composer)?

I just copy/pasted old Laravel code directly in the controller - it should work

aluferraz commented 7 years ago

Wow, that was fast ... It works just fine!

Thanks a lot !