From 15c2cdb00b68642c820b832b096967ca041f0719 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 28 Aug 2021 10:06:17 +0200 Subject: [PATCH 1/1] Add register and edit default skipped fields Remove useless constructor parameters from access denied handler --- Resources/config/packages/rapsys_air.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml index 76da2bd..84062fe 100644 --- a/Resources/config/packages/rapsys_air.yaml +++ b/Resources/config/packages/rapsys_air.yaml @@ -43,6 +43,9 @@ rapsys_user: url: '%rapsys_air.site.url%' #Edit replacement edit: + field: + pseudonym: false + slug: false route: index: 'site.url' view: @@ -75,6 +78,9 @@ rapsys_user: context: #Register replacement register: + field: + pseudonym: false + slug: false route: index: 'site.url' confirm: 'confirm_url' @@ -290,7 +296,7 @@ services: tags: [ 'kernel.event_subscriber' ] #Register access denied handler Rapsys\AirBundle\Handler\AccessDeniedHandler: - arguments: [ '@service_container', '@twig', '@router', '@request_stack', '@translator' ] + arguments: [ '@service_container', '@router', '@translator' ] #Register air fixtures Rapsys\AirBundle\DataFixtures\AirFixtures: tags: [ 'doctrine.fixture.orm' ] -- 2.41.1