This commit is contained in:
nurmuhammet committed 2025-10-27 18:02:45 +05:00
1 parent a96f4fc8c8
commit 918663c758
5 files changed
+26 -14

No files matched your search

+5 -5
View File
@@ -3,7 +3,7 @@
namespace App\Providers\Filament;
use App\Http\Middleware\EnsureProfileIsFilled;
use App\Livewire\UserPassportFields;
use App\Livewire\UserProfileFields;
use App\Modules\BaseAuth\Middleware\RedirectIfUserPhoneIsUnVerfied;
use BezhanSalleh\FilamentShield\FilamentShieldPlugin;
use CraftForge\FilamentLanguageSwitcher\FilamentLanguageSwitcherPlugin;
@@ -77,7 +77,7 @@ public function panel(Panel $panel): Panel
->setIcon('heroicon-o-user-circle')
->shouldShowEditProfileForm(false)
->customProfileComponents([
UserPassportFields::class,
UserProfileFields::class,
]),
])
->authMiddleware([
@@ -85,9 +85,9 @@ public function panel(Panel $panel): Panel
EnsureProfileIsFilled::class,
])
->spa()
->spaUrlExceptions(fn (): array => [
EditProfilePage::getUrl(),
])
// ->spaUrlExceptions(fn (): array => [
// EditProfilePage::getUrl(),
// ])
->databaseTransactions()
->breadcrumbs(false)
->colors([