USER Model is located in a diffrent path
I'm trying to log in my filament admin panel but when I click log in , an error pops up saying " Class "\App\Models\User" not found " , and they are right , because the user model is located at App/Console/Model/User , basically I want to know how to change the paths in the filament files so I can access the admin panel
7 Replies
Are you changing the laravel path for the user class in your app’s config?
the error now is " Class "\app\Console\Models\User" not found " , the user model is in the console director which itself is located at the app directory
There’s a config setting in larevel for where the user model is located. Sounds like something is off in your config.
yeah its in the config directory , exactly in the app.php , there where i modified the user model path
Why is the user model in the config directory? Maybe I’m just not understanding at the moment.
Sorry
I think i just relock it the model folder in the console folder , now its running but there is one problem when i try to log in i get an error saying " This password does not use the Bcrypt algorithm. "
is there a problem whith using sha1
Laravel default is using bcrypt. You can overwrite the driver in
config/hashing.php