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

Commit af46890

Browse files
committed
adding light documentation to security.yml
1 parent 7ceca0a commit af46890

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)