summaryrefslogtreecommitdiffstats
path: root/Core/Encoder/BasePasswordEncoder.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-12-18 17:59:46 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2015-12-18 17:59:46 +0100
commite3d856ff389c4741c98d78b19716e49b2e4ae70f (patch)
treed9d6961521c217ed03f215f5af468a85b01b7c55 /Core/Encoder/BasePasswordEncoder.php
parent9685b588a8a11822620871472fe46ff7a9fe483c (diff)
parentad9416c7ecfd8ebb4cc57c8b044534b1cdaeb2ed (diff)
downloadsymfony-security-e3d856ff389c4741c98d78b19716e49b2e4ae70f.zip
symfony-security-e3d856ff389c4741c98d78b19716e49b2e4ae70f.tar.gz
symfony-security-e3d856ff389c4741c98d78b19716e49b2e4ae70f.tar.bz2
Merge branch '2.3' into 2.7
* 2.3: [Form] fix #15544 when a collection type attribute "required" is false, "prototype" should too updated validators.bg.xlf [Security] Enable bcrypt validation and result length tests on all PHP versions [Security] Verify if a password encoded with bcrypt is no longer than 72 characters [Console] Avoid extra blank lines when rendering exceptions [Yaml] do not remove "comments" in scalar blocks
Diffstat (limited to 'Core/Encoder/BasePasswordEncoder.php')
-rw-r--r--Core/Encoder/BasePasswordEncoder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Encoder/BasePasswordEncoder.php b/Core/Encoder/BasePasswordEncoder.php
index 1c9ada1..fcf2e47 100644
--- a/Core/Encoder/BasePasswordEncoder.php
+++ b/Core/Encoder/BasePasswordEncoder.php
@@ -95,6 +95,6 @@ abstract class BasePasswordEncoder implements PasswordEncoderInterface
*/
protected function isPasswordTooLong($password)
{
- return strlen($password) > self::MAX_PASSWORD_LENGTH;
+ return strlen($password) > static::MAX_PASSWORD_LENGTH;
}
}