Skip to content

Removed "http_basic" config from the login form cookbook #5768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 20, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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