From 844198da6ab02fc9f527d6347e2eeb020c8c0d4b Mon Sep 17 00:00:00 2001 From: Jules Pietri Date: Thu, 13 Feb 2020 14:51:21 +0100 Subject: [PATCH] [Security] Renamed in memory provider --- symfony/security-bundle/3.3/config/packages/security.yaml | 3 ++- symfony/security-bundle/4.4/config/packages/security.yaml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/symfony/security-bundle/3.3/config/packages/security.yaml b/symfony/security-bundle/3.3/config/packages/security.yaml index 855f921e1..f7ae4b785 100644 --- a/symfony/security-bundle/3.3/config/packages/security.yaml +++ b/symfony/security-bundle/3.3/config/packages/security.yaml @@ -1,13 +1,14 @@ security: # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: - in_memory: { memory: null } + users_in_memory: { memory: null } firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: true + provider: users_in_memory # activate different ways to authenticate # https://symfony.com/doc/current/security.html#firewalls-authentication diff --git a/symfony/security-bundle/4.4/config/packages/security.yaml b/symfony/security-bundle/4.4/config/packages/security.yaml index ce69ba752..811681e87 100644 --- a/symfony/security-bundle/4.4/config/packages/security.yaml +++ b/symfony/security-bundle/4.4/config/packages/security.yaml @@ -1,13 +1,14 @@ security: # https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers providers: - in_memory: { memory: null } + users_in_memory: { memory: null } firewalls: dev: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: anonymous: lazy + provider: users_in_memory # activate different ways to authenticate # https://symfony.com/doc/current/security.html#firewalls-authentication