Admin passwordReset()

Hello there, I have enabled the passwordReset on admin panel provider and can I define somehow the password validation rule ?
3 Replies
LeandroFerreira
LeandroFerreira4mo ago
I think you could create a CustomResetPassword extending Filament\Pages\Auth\PasswordReset\ResetPassword and customize what you need. Then, use the custom class in the provider
return $panel
...
->passwordReset(resetAction: CustomResetPassword::class)
return $panel
...
->passwordReset(resetAction: CustomResetPassword::class)
Szilárd
SzilárdOP4mo ago
Ohh i see, huh I will try this way. But if someone know a more helpfull way I`m still wating for that ohhh wait wait, now i start to understand that, and i can change the form elements aha
LeandroFerreira
LeandroFerreira4mo ago
yes
Want results from more Discord servers?
Add your server