Filament change password in header dropdown.

How do I add the change password option in the dropdown?
image.png
Solution
return $panel
    ->default()
    ->id('admin')
    ->userMenuItems([
        'profile' => MenuItem::make()->url(fn (): string => PersonalInfo::getUrl()), //Replace Super Admin
        MenuItem::make() //Add more items
            ->label('change password')
            ->url(fn (): string => Password::getUrl()),
    ])
Was this page helpful?