From a1735c2f3dd4e233073b64dc4f7110f9bb77c68c Mon Sep 17 00:00:00 2001 From: Jan Rosier Date: Sun, 23 Apr 2017 16:24:03 +0200 Subject: [PATCH] Update the doc urls --- app/config/security.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/config/security.yml b/app/config/security.yml index 80c8a84d6..254e5c25b 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -1,17 +1,18 @@ security: encoders: # Our user class and the algorithm we'll use to encode passwords - # http://symfony.com/doc/current/book/security.html#encoding-the-user-s-password + # http://symfony.com/doc/current/security.html#c-encoding-the-user-s-password AppBundle\Entity\User: bcrypt providers: - # in this example, users are stored via Doctrine in the database + # http://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded + # In this example, users are stored via Doctrine in the database # To see the users at src/AppBundle/DataFixtures/ORM/LoadFixtures.php - # To load users from somewhere else: http://symfony.com/doc/current/cookbook/security/custom_provider.html + # To load users from somewhere else: http://symfony.com/doc/current/security/custom_provider.html database_users: entity: { class: AppBundle:User, property: username } - # http://symfony.com/doc/current/book/security.html#firewalls-authentication + # http://symfony.com/doc/current/security.html#initial-security-yml-setup-authentication firewalls: secured_area: # this firewall applies to all URLs @@ -22,7 +23,7 @@ security: anonymous: true # This allows the user to login by submitting a username and password - # Reference: http://symfony.com/doc/current/cookbook/security/form_login_setup.html + # Reference: http://symfony.com/doc/current/security/form_login_setup.html form_login: # The route name that the login form submits to check_path: security_login @@ -30,7 +31,7 @@ security: # When the user tries to access a protected page, they are redirected here login_path: security_login # Secure the login form against CSRF - # Reference: http://symfony.com/doc/current/cookbook/security/csrf_in_login_form.html + # Reference: http://symfony.com/doc/current/security/csrf_in_login_form.html csrf_token_generator: security.csrf.token_manager # The page users are redirect to when there is no previous page stored in the # session (for example when the users access directly to the login page).