Closed ztj1993 closed 3 years ago
Hi
There is a setting where the User model is, and whatever is throwing that error, it doesn't have the correct path to the User model configured. I think there's a couple of places it can be, but I would advise you to search the whole config directory for "User" and also enable full debugging so you see where this is thrown.
Actual Behaviour
Describe the behaviour you're experiencing. Do not just copy and paste a random error message and expect help.
JWT doesn't work
ServiceProvider boot:
config auth.php:
controller:
call
/api/refresh
, output:note: I deleted the app/user.php
Expected Behaviour
Describe the behaviour you're expecting.
JWT works normally and uses my model.
Steps to Reproduce
List all the steps needed to reproduce the issue you're having. Make sure to include code (affected models, configurations), any screenshots and/or other resources that may help us understand what's going on.
Possible Solutions
If you have any ideas on how to solve the issue, add them here, otherwise you can omit this part.
I tested a lot of ways, but I really couldn't handle it, so I came to ask for help.