Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c1c1c3

Browse files
authored
fix: enable API Platform integration in LexikJWTAuthenticationBundle (#5609)
1 parent 14969aa commit 0c1c1c3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Symfony/Bundle/DependencyInjection/ApiPlatformExtension.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ public function prepend(ContainerBuilder $container): void
8181
],
8282
]);
8383
}
84+
if (isset($container->getExtensions()['lexik_jwt_authentication'])) {
85+
$container->prependExtensionConfig('lexik_jwt_authentication', [
86+
'api_platform' => [
87+
'enabled' => true,
88+
],
89+
]);
90+
}
8491
}
8592

8693
/**

0 commit comments

Comments
 (0)