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
awcodes
awcodes5mo ago
Are you changing the laravel path for the user class in your app’s config?
red creeper
red creeper5mo ago
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
awcodes
awcodes5mo ago
There’s a config setting in larevel for where the user model is located. Sounds like something is off in your config.
red creeper
red creeper5mo ago
yeah its in the config directory , exactly in the app.php , there where i modified the user model path
awcodes
awcodes5mo ago
Why is the user model in the config directory? Maybe I’m just not understanding at the moment. Sorry
red creeper
red creeper5mo ago
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
Dennis Koch
Dennis Koch5mo ago
Laravel default is using bcrypt. You can overwrite the driver in config/hashing.php
Want results from more Discord servers?
Add your server
More Posts