some stan
This commit is contained in:
@@ -29,7 +29,10 @@ class EnsureProfileIsFilled
|
||||
$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