Skip to content

Commit e76843f

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #741
2 parents b364e60 + 844198d commit e76843f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

symfony/security-bundle/3.3/config/packages/security.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
security:
22
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
33
providers:
4-
in_memory: { memory: null }
4+
users_in_memory: { memory: null }
55
firewalls:
66
dev:
77
pattern: ^/(_(profiler|wdt)|css|images|js)/
88
security: false
99
main:
1010
anonymous: true
11+
provider: users_in_memory
1112

1213
# activate different ways to authenticate
1314
# https://symfony.com/doc/current/security.html#firewalls-authentication

symfony/security-bundle/4.4/config/packages/security.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
security:
22
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
33
providers:
4-
in_memory: { memory: null }
4+
users_in_memory: { memory: null }
55
firewalls:
66
dev:
77
pattern: ^/(_(profiler|wdt)|css|images|js)/
88
security: false
99
main:
1010
anonymous: lazy
11+
provider: users_in_memory
1112

1213
# activate different ways to authenticate
1314
# https://symfony.com/doc/current/security.html#firewalls-authentication

0 commit comments

Comments
 (0)