Fix enum usage in listener auth for geoblocking

This commit is contained in:
Vaalyn 2022-01-09 12:38:03 +01:00 committed by GitHub
commit 8f87fbb343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class InternalController
if ('success' === $listenerLocation['status']) {
$listenerCountry = $listenerLocation['country'];
$countries = Countries::getNames(SupportedLocales::default()->name);
$countries = Countries::getNames(SupportedLocales::default()->value);
$listenerCountryCode = '';
foreach ($countries as $countryCode => $countryName) {