From a376f775d2ca13ab471a3af0eca9d8680cc1fdc4 Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sun, 8 Feb 2015 10:22:00 +0200 Subject: [PATCH 1/3] Fix typos | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3 | Fixed tickets | --- book/security.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/security.rst b/book/security.rst index b7809796e9f..4a0f41e364b 100644 --- a/book/security.rst +++ b/book/security.rst @@ -18,7 +18,7 @@ sections: 2) Denying access to your app (*authorization*); -3) Fetching the current User object +3) Fetching the current User object. These are followed by a number of small (but still captivating) sections, like :ref:`logging out ` and :ref:`encoding user passwords `. @@ -487,7 +487,7 @@ else, you'll want to encode their passwords. The best algorithm to use is 'encoders' => array( 'Symfony\Component\Security\Core\User\User' => array( - 'algorithm' => 'plaintext', + 'algorithm' => 'bcrypt', 'cost' => 12, ) ), From c21659874e29f16919b15ba87f92b6ef7d09086c Mon Sep 17 00:00:00 2001 From: "Andrew (Andrius) Marcinkevicius" Date: Sun, 8 Feb 2015 18:22:41 +0200 Subject: [PATCH 2/3] Update security.rst --- book/security.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/security.rst b/book/security.rst index 4a0f41e364b..4cc9152529f 100644 --- a/book/security.rst +++ b/book/security.rst @@ -14,11 +14,11 @@ is both flexible and (hopefully) fun to work with. Since there's a lot to talk about, this chapter is organized into a few big sections: -1) Initial ``security.yml`` setup (*authentication*); +1. Initial ``security.yml`` setup (*authentication*); -2) Denying access to your app (*authorization*); +2. Denying access to your app (*authorization*); -3) Fetching the current User object. +3. Fetching the current User object. These are followed by a number of small (but still captivating) sections, like :ref:`logging out ` and :ref:`encoding user passwords `. From 6491394e3f9a0ff2141e356bf610f66764768f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrew=20Marcinkevi=C4=8Dius?= Date: Fri, 20 Feb 2015 09:33:28 +0200 Subject: [PATCH 3/3] Update security.rst --- book/security.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/book/security.rst b/book/security.rst index 4cc9152529f..891bb12d901 100644 --- a/book/security.rst +++ b/book/security.rst @@ -14,11 +14,11 @@ is both flexible and (hopefully) fun to work with. Since there's a lot to talk about, this chapter is organized into a few big sections: -1. Initial ``security.yml`` setup (*authentication*); +#. Initial ``security.yml`` setup (*authentication*); -2. Denying access to your app (*authorization*); +#. Denying access to your app (*authorization*); -3. Fetching the current User object. +#. Fetching the current User object. These are followed by a number of small (but still captivating) sections, like :ref:`logging out ` and :ref:`encoding user passwords `.