Created
July 10, 2016 11:50
-
-
Save pboethig/8b8362ba14b09c5b55acc753453af59b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To get started with security, check out the documentation: | |
# http://symfony.com/doc/current/book/security.html | |
security: | |
encoders: | |
Blogbundle\Entity\Users: | |
algorithm: bcrypt | |
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers | |
providers: | |
in_memory: | |
memory: ~ | |
firewalls: | |
# disables authentication for assets and the profiler, adapt it according to your needs | |
dev: | |
pattern: ^/(_(profiler|wdt)|css|images|js)/ | |
security: false | |
main: | |
anonymous: ~ | |
# activate different ways to authenticate | |
# http_basic: ~ | |
# http://symfony.com/doc/current/book/security.html#a-configuring-how-your-users-will-authenticate | |
# form_login: ~ | |
# http://symfony.com/doc/current/cookbook/security/form_login_setup.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment