11security :
22 encoders :
33 # Our user class and the algorithm we'll use to encode passwords
4- # http://symfony.com/doc/current/book/ security.html#encoding-the-user-s-password
4+ # http://symfony.com/doc/current/security.html#c- encoding-the-user-s-password
55 AppBundle\Entity\User : bcrypt
66
77 providers :
8- # in this example, users are stored via Doctrine in the database
8+ # http://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
9+ # In this example, users are stored via Doctrine in the database
910 # To see the users at src/AppBundle/DataFixtures/ORM/LoadFixtures.php
10- # To load users from somewhere else: http://symfony.com/doc/current/cookbook/ security/custom_provider.html
11+ # To load users from somewhere else: http://symfony.com/doc/current/security/custom_provider.html
1112 database_users :
1213 entity : { class: AppBundle:User, property: username }
1314
14- # http://symfony.com/doc/current/book/ security.html#firewalls -authentication
15+ # http://symfony.com/doc/current/security.html#initial-security-yml-setup -authentication
1516 firewalls :
1617 secured_area :
1718 # this firewall applies to all URLs
@@ -22,15 +23,15 @@ security:
2223 anonymous : true
2324
2425 # This allows the user to login by submitting a username and password
25- # Reference: http://symfony.com/doc/current/cookbook/ security/form_login_setup.html
26+ # Reference: http://symfony.com/doc/current/security/form_login_setup.html
2627 form_login :
2728 # The route name that the login form submits to
2829 check_path : security_login
2930 # The name of the route where the login form lives
3031 # When the user tries to access a protected page, they are redirected here
3132 login_path : security_login
3233 # Secure the login form against CSRF
33- # Reference: http://symfony.com/doc/current/cookbook/ security/csrf_in_login_form.html
34+ # Reference: http://symfony.com/doc/current/security/csrf_in_login_form.html
3435 csrf_token_generator : security.csrf.token_manager
3536 # The page users are redirect to when there is no previous page stored in the
3637 # session (for example when the users access directly to the login page).
0 commit comments