From c79e96e2915e7320cbff73b180c75d1b342d6dc0 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 25 Mar 2024 16:00:51 +0100 Subject: [PATCH] apply consensus as access decision manager strategy --- config/packages/security.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index f35b7a4..e9d9a49 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -3,6 +3,10 @@ security: App\Entity\User: algorithm: auto + access_decision_manager: + strategy: consensus + allow_if_all_abstain: false + # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers enable_authenticator_manager: true # https://symfony.com/doc/current/security.html#registering-the-user-hashing-passwords