F
Filament8mo ago
Neamix

Customize Reset password page

How can i re customize forget password and reset password page
4 Replies
Ron
Ron8mo ago
You can pass your own page class to any of the authentication features; https://filamentphp.com/docs/3.x/panels/users#authentication-features
return $panel
// ...
->passwordReset(YourPasswordReset::class)

return $panel
// ...
->passwordReset(YourPasswordReset::class)

Jackoripo
Jackoripo2w ago
I can get the request page customised but not the reset page, how can i achieve this please?
Sukarat Luitel
I faced the same issue:
return $panel
// ...
->passwordReset(YourPasswordReset::class)

return $panel
// ...
->passwordReset(YourPasswordReset::class)

When attempting to override the password reset page (/password-reset/reset) in Filament v3, the ->passwordReset(ResetPassword::class) method does not work as expected. Instead of overriding the reset page, it overrides the password reset request form (/password-reset/request). Despite correctly registering the custom page in the panel provider, Filament still uses the default password reset page. For me, the custom page only loads when the route is manually overridden in RouteServiceProvider.
Route::get('/jobseeker/password-reset/reset', ResetPassword::class)
->name('filament.jobseeker.auth.password-reset.reset');
Route::get('/jobseeker/password-reset/reset', ResetPassword::class)
->name('filament.jobseeker.auth.password-reset.reset');
Above, worked for me when trying to customize password reset page for "Jobseeker" panel.
Jackoripo
Jackoripo3d ago
Thats perfect thank you @Sukarat Luitel

Did you find this page helpful?