Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 82760b8

Browse files
committed
minor #826 adding light documentation to security.yml (weaverryan)
This PR was merged into the 2.3 branch. Discussion ---------- adding light documentation to security.yml Hi guys! When we removed AcmeDemoBundle recently, we lost a lot of "example" security configuration that was there before. I realized this in a training - you open this file, but don't know where to go next. I've added some very basic links to help get the user moving. @javiereguiluz does this make sense to you? Thanks! Commits ------- af46890 adding light documentation to security.yml
2 parents 7ceca0a + af46890 commit 82760b8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/config/security.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1+
# To get started with security, check out the documentation:
2+
# http://symfony.com/doc/current/book/security.html
13
security:
24

5+
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
36
providers:
47
in_memory:
58
memory: ~
69

710
firewalls:
11+
# disables authentication for assets and the profiler, adapt it according to your needs
812
dev:
913
pattern: ^/(_(profiler|wdt)|css|images|js)/
1014
security: false
1115

1216
main:
1317
anonymous: ~
18+
# activate different ways to authenticate
19+
20+
# http_basic: ~
21+
# http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate
22+
23+
# form_login: ~
24+
# http://symfony.com/doc/current/cookbook/security/form_login_setup.html

0 commit comments

Comments
 (0)