Skip to content

Commit

Permalink
minor #6680 Fix ldap security examples (jvasseur)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.8 branch.

Discussion
----------

Fix ldap security examples

Fix Ldap login form examples.

Fix symfony/symfony#19171

Commits
-------

107913d Fix ldap security examples
  • Loading branch information
xabbuh committed Jun 30, 2016
2 parents 8314edd + 107913d commit bc45515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbook/security/ldap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ Configuration example for form login
# ...
form_login_ldap:
login_path: login
login_check: login_check
check_path: login_check
# ...
service: ldap
dn_string: 'uid={username},dc=example,dc=com'
Expand All @@ -306,7 +306,7 @@ Configuration example for form login
<firewall name="main">
<form-login-ldap
login-path="login"
login-check="login_check"
check-path="login_check"
service="ldap"
dn-string="uid={username},dc=example,dc=com" />
</firewall>
Expand All @@ -320,7 +320,7 @@ Configuration example for form login
'main' => array(
'form_login_ldap' => array(
'login_path' => 'login',
'login_check' => 'login_check',
'check_path' => 'login_check',
'service' => 'ldap',
'dn_string' => 'uid={username},dc=example,dc=com',
// ...
Expand Down

0 comments on commit bc45515

Please sign in to comment.