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: test@gmail.com pass: 12345
7 Replies
LeandroFerreira
LeandroFerreira10mo ago
Why /public?
PaulaAndrea
PaulaAndrea10mo ago
What would be the correct way? because if I remove it, I get error 404.
Log1x
Log1x10mo 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
PaulaAndrea10mo ago
the client set up that server, do you have servers that you recommend?
Log1x
Log1x10mo 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
Log1x10mo 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
PaulaAndrea10mo ago
Want results from more Discord servers?
Add your server
More Posts