Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Fix URLs to match rewritten security book chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
xelaris committed Jan 6, 2015
1 parent dc20d5a commit c199778
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ private static function patchAcmeDemoBundleConfiguration($appDir, Filesystem $fs
# you can read more about security in the related section of the documentation
# http://symfony.com/doc/current/book/security.html
security:
# http://symfony.com/doc/current/book/security.html#encoding-the-user-s-password
# http://symfony.com/doc/current/book/security.html#c-encoding-the-users-password
encoders:
Symfony\Component\Security\Core\User\User: plaintext
Expand All @@ -282,7 +282,7 @@ private static function patchAcmeDemoBundleConfiguration($appDir, Filesystem $fs
ROLE_ADMIN: ROLE_USER
ROLE_SUPER_ADMIN: [ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
# http://symfony.com/doc/current/book/security.html#where-do-users-come-from-user-providers
# http://symfony.com/doc/current/book/security.html#b-configuring-how-users-are-loaded
providers:
in_memory:
memory:
Expand Down Expand Up @@ -319,7 +319,7 @@ private static function patchAcmeDemoBundleConfiguration($appDir, Filesystem $fs
# with these settings you can restrict or allow access for different parts
# of your application based on roles, ip, host or methods
# http://symfony.com/doc/current/book/security.html#security-book-access-control-matching-options
# http://symfony.com/doc/current/cookbook/security/access_control.html
access_control:
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
EOF;
Expand Down

0 comments on commit c199778

Please sign in to comment.