Login in production
I am making a small system with filament V3 and I uploaded it to cPanel, the local works perfectly, but when I wanted to login in the server it does not do it, in the user model I have the users that can access, if I enter some wrong data it does not validate it.
public function canAccessPanel(Panel $panel): bool
{
return $this->hasRole(['Admin', 'test', 'Property Broker']);
}
you can test here https://panel.homentor.cl/public/admin/login
User: [email protected]
pass: 12345
7 Replies
Why /public?
What would be the correct way? because if I remove it, I get error 404.
cPanel is archaic – but somewhere nestled in the mess should be a way to set your websites "public_html path" – append
/public
to it.the client set up that server, do you have servers that you recommend?
DigitalOcean alongside something like https://forge.laravel.com/ or if you need more than just Laravel (e.g. WordPress), I like to use https://runcloud.io/
Envoyer - Zero Downtime PHP Deployment
One-click deployments built for teams, tuned for Laravel, loaded with tools and goodies you're going to love.