Skip to content

Commit

Permalink
remove user menu
Browse files Browse the repository at this point in the history
  • Loading branch information
notAreYouScared committed Jan 17, 2025
1 parent e6eb0f3 commit c8a08ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ public function panel(Panel $panel): Panel
->authMiddleware([
Authenticate::class,
])
->plugin(TwoFactorAuthPlugin::make());
->plugin(TwoFactorAuthPlugin::make()->showInUserMenu(false));
}
}
2 changes: 1 addition & 1 deletion app/Providers/Filament/AppPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ public function panel(Panel $panel): Panel
->authMiddleware([
Authenticate::class,
])
->plugin(TwoFactorAuthPlugin::make());
->plugin(TwoFactorAuthPlugin::make()->showInUserMenu(false));
}
}
2 changes: 1 addition & 1 deletion app/Providers/Filament/ServerPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ public function panel(Panel $panel): Panel
->authMiddleware([
Authenticate::class,
])
->plugin(TwoFactorAuthPlugin::make());
->plugin(TwoFactorAuthPlugin::make()->showInUserMenu(false));
}
}

0 comments on commit c8a08ed

Please sign in to comment.