You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with this package, my project I force myself in rename the passport's tables and this issue I can resolved created a own provider as follows:
So, your package call the table with the Passport original value, so if I make a print at Token::class I have: Laravel\Passport\Token when the correct behavior is get App\Model\Token
I'm new in Lumel and Passport but I suppose this is the right way to can use different tables names
The text was updated successfully, but these errors were encountered:
I'm working with this package, my project I force myself in rename the passport's tables and this issue I can resolved created a own provider as follows:
Where each model in my project I haved to renamed the table as follows:
The problem is in this code:
lumen-passport/src/Http/Controllers/AccessTokenController.php
Lines 95 to 101 in 9729c62
lumen-passport/src/Console/Commands/Purge.php
Lines 35 to 43 in 9729c62
So, your package call the table with the Passport original value, so if I make a
print
atToken::class
I have:Laravel\Passport\Token
when the correct behavior is getApp\Model\Token
I'm new in Lumel and Passport but I suppose this is the right way to can use different tables names
The text was updated successfully, but these errors were encountered: