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
LeandroFerreira
LeandroFerreira15mo ago
Why /public?
PaulaAndrea
PaulaAndreaOP15mo ago
What would be the correct way? because if I remove it, I get error 404.
Log1x
Log1x15mo ago
cPanel is archaic – but somewhere nestled in the mess should be a way to set your websites "public_html path" – append /public to it.
PaulaAndrea
PaulaAndreaOP15mo ago
the client set up that server, do you have servers that you recommend?
Log1x
Log1x15mo ago
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/
Log1x
Log1x15mo ago
And if you get real traffic, probably https://envoyer.io/ for atomic deploys.
Envoyer - Zero Downtime PHP Deployment
One-click deployments built for teams, tuned for Laravel, loaded with tools and goodies you're going to love.
PaulaAndrea
PaulaAndreaOP15mo ago
Want results from more Discord servers?
Add your server