Created
February 7, 2019 14:54
-
-
Save DylanDelobel/1e8cd03d5d282e88b9e8babcad303647 to your computer and use it in GitHub Desktop.
security easy
This file contains 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
security: | |
encoders: | |
Symfony\Component\Security\Core\User\User: | |
algorithm: bcrypt | |
cost: 12 | |
providers: | |
in_memory: | |
memory: | |
users: | |
admin: | |
password: $2y$12$8UuQwSqfhQc1kILY1sOwTRudfmPbz2MJbRMyxffefSriz/YJ1oMf/zde | |
roles: 'ROLE_ADMIN' | |
firewalls: | |
dev: | |
pattern: ^/(_(profiler|wdt)|css|images|js)/ | |
security: false | |
main: | |
anonymous: true | |
http_basic: ~ | |
access_control: | |
- { path: ^/admin, roles: ROLE_ADMIN } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment