Skip to content

Commit

Permalink
bug #5768 Removed "http_basic" config from the login form cookbook (j…
Browse files Browse the repository at this point in the history
…aviereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

Removed "http_basic" config from the login form cookbook

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | all
| Fixed tickets | #5763

Commits
-------

d019f83 Removed an outdate paragraph
f73133d Removed "http_basic" config from the login form cookbook
  • Loading branch information
weaverryan committed Nov 20, 2015
2 parents ea2503c + d019f83 commit e6d4c93
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cookbook/security/form_login_setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ In this entry, you'll build a traditional login form. Of course, when the
user logs in, you can load your users from anywhere - like the database.
See :ref:`security-user-providers` for details.

This chapter assumes that you've followed the beginning of the
:doc:`security chapter </book/security>` and have ``http_basic`` authentication
working properly.

First, enable form login under your firewall:

.. configuration-block::
Expand All @@ -29,7 +25,6 @@ First, enable form login under your firewall:
firewalls:
default:
anonymous: ~
http_basic: ~
form_login:
login_path: /login
check_path: /login_check
Expand All @@ -47,7 +42,6 @@ First, enable form login under your firewall:
<config>
<firewall name="default">
<anonymous />
<http-basic />
<form-login login-path="/login" check-path="/login_check" />
</firewall>
</config>
Expand All @@ -60,7 +54,6 @@ First, enable form login under your firewall:
'firewalls' => array(
'default' => array(
'anonymous' => null,
'http_basic' => null,
'form_login' => array(
'login_path' => '/login',
'check_path' => '/login_check',
Expand Down

0 comments on commit e6d4c93

Please sign in to comment.