some stan
This commit is contained in:
1 parent
85df3ec412
commit
d8c340028c
10 files changed
+203
-10
No files matched your search
@@ -29,7 +29,10 @@ public function handle(Request $request, Closure $next): Response
|
||||
$profilePageClass = EditProfilePage::class; // <-- !! IMPORTANT: Change to your page
|
||||
$profilePageUrl = $profilePageClass::getUrl();
|
||||
|
||||
$panelId = filament()->getCurrentPanel()->getId();
|
||||
/** @var \Filament\Panel */
|
||||
$panel = filament()->getCurrentPanel();
|
||||
|
||||
$panelId = $panel->getId();
|
||||
$logoutRouteName = "filament.{$panelId}.auth.logout";
|
||||
|
||||
// 4. Check for 'safe' conditions
|
||||
|
||||
Reference in new issue
Block a user