From 7275c708976e5ffd84de02128b7459c83f76a6aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Wed, 31 Jan 2024 23:16:16 +0100 Subject: [PATCH 1/1] Declare facebook event subscriber --- Resources/config/packages/rapsys_air.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml index 2e31c99..5863f60 100644 --- a/Resources/config/packages/rapsys_air.yaml +++ b/Resources/config/packages/rapsys_air.yaml @@ -357,6 +357,10 @@ services: class: 'Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactory' arguments: [ { 'Rapsys\AirBundle\Entity\User': { class: 'Symfony\Component\PasswordHasher\Hasher\NativePasswordHasher', arguments: [ ~, ~, ~, '2y'] } } ] public: true + #Register facebook event subscriber + Rapsys\PackBundle\Subscriber\FacebookSubscriber: + arguments: [ '@router', '%rapsys_air.locales%' ] + tags: [ 'kernel.event_subscriber' ] #Twig Configuration twig: -- 2.41.1