Filament login used. all redirects working.

This commit is contained in:
2025-09-05 23:18:45 +02:00
parent 6700770824
commit 72c60bb74c
5 changed files with 11 additions and 73 deletions

View File

@@ -24,8 +24,9 @@ class UserPanelProvider extends PanelProvider
{
return $panel
->id('user')
->path('lobby') // Serve at root
->login()
->path('lobby') // Serve at /lobby
->login() // Filament login UI
->registration() // Filament registration UI
->colors([
'primary' => Color::Purple, // Purple for user panel
])
@@ -52,7 +53,7 @@ class UserPanelProvider extends PanelProvider
DispatchServingFilamentEvent::class,
])
->authMiddleware([
Authenticate::class,
Authenticate::class, // Enforce authentication
])
->navigationGroups([
'Casino' // Group for games, deposits, transactions