init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
32
app/config/security.yml
Normal file
32
app/config/security.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# To get started with security, check out the documentation:
|
||||
# http://symfony.com/doc/current/book/security.html
|
||||
security:
|
||||
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
|
||||
providers:
|
||||
in_memory:
|
||||
memory:
|
||||
users:
|
||||
bstar:
|
||||
password: $2y$13$./cas5fxa2yto6Q2or0TZ.zwwisoFWWP6MgrCQbO7ljUtynaCalAi
|
||||
roles: 'ROLE_ADMIN'
|
||||
encoders:
|
||||
Symfony\Component\Security\Core\User\User: #plaintext
|
||||
algorithm: bcrypt
|
||||
cost: 13
|
||||
firewalls:
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
security: false
|
||||
main:
|
||||
anonymous: ~
|
||||
form_login:
|
||||
login_path: login
|
||||
check_path: login
|
||||
default_target_path: after_login
|
||||
always_use_default_target_path: true
|
||||
logout:
|
||||
path: /logout
|
||||
target: /
|
||||
access_control:
|
||||
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
|
||||
- { path: ^/admin, roles: ROLE_ADMIN }
|
||||
Loading…
Add table
Add a link
Reference in a new issue