Skip to content

Commit

Permalink
[Security] Renamed in memory provider
Browse files Browse the repository at this point in the history
  • Loading branch information
HeahDude committed Feb 13, 2020
1 parent b364e60 commit 844198d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion symfony/security-bundle/3.3/config/packages/security.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion symfony/security-bundle/4.4/config/packages/security.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 844198d

Please sign in to comment.