A user can register and update their password with a password that doesn't match the expected password format according to the modal shown when entering the password.
Could you consider defining the password defaults to match the expected format? It would be even better if the expected format modal could match the default automatcally.
use Illuminate\Validation\Rules\Password;
/**
* Bootstrap any application services.
*/
public function boot(): void
{
Password::defaults(function () {
$rule = Password::min(8);
return $this->app->isProduction()
? $rule->mixedCase()->uncompromised()
: $rule;
});
}
