Filament login used. all redirects working.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user