batigolix → credited sonneworks → .
I fixed this in my project.
added the symfony intl component (composer require symfony/intl)
creating a translated country list with Countries::getNames($this->languageManager->getCurrentLanguage()->getId());
This list has upper case keys and the library requires lowercase so: array_change_key_case($countryList, CASE_LOWER)
Since i'm only using this module in a custom form i'm passing the list using drupalSettings
sonneworks → created an issue.
@will_frank sorry, was on holiday, didn't have access to codebase :)
I have the same issue on D10
In the FloodControlServiceProvider::alter method ... instead of setting a new service definition i'm updating the existing one... which seems to work:
$container->getDefinition('flood_control.flood_unblock_manager')
->setClass(FloodUnblockManagerRedis::class)
->setArguments( [
new Reference('redis.factory'),
new Reference('flood'),
new Reference('config.factory'),
new Reference('entity_type.manager'),
new Reference('messenger'),
]);
not sure why