From 74216abb7bd1c8475c8eba1767a5765586c54000 Mon Sep 17 00:00:00 2001 From: Roberto Lombi Date: Fri, 28 Feb 2014 13:29:19 +0100 Subject: [PATCH] Wrong parameters order and wrong naming Wrong parameters order and wrong naming on "Using Password Encoders" section --- components/security/authentication.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/security/authentication.rst b/components/security/authentication.rst index 95c3b27c08b..c1d4fe66442 100644 --- a/components/security/authentication.rst +++ b/components/security/authentication.rst @@ -221,8 +221,8 @@ which should be used to encode this user's password:: // check if the password is valid: $validPassword = $encoder->isPasswordValid( + $encodedPassword, $user->getPassword(), - $password, $user->getSalt()); .. _`CVE-2013-5750`: http://symfony.com/blog/cve-2013-5750-security-issue-in-fosuserbundle-login-form