diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 11:25:57 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 11:25:57 +0100 |
commit | f71752fe4a6da47022076606f151a1f3ca514af7 (patch) | |
tree | 22fadf069564e55c07a7a290ef6140001f9da6db /Core/Encoder/BCryptPasswordEncoder.php | |
parent | 9419b7b165f5f068c0d87dcb344781bc03ede87b (diff) | |
parent | e3d856ff389c4741c98d78b19716e49b2e4ae70f (diff) | |
download | symfony-security-f71752fe4a6da47022076606f151a1f3ca514af7.zip symfony-security-f71752fe4a6da47022076606f151a1f3ca514af7.tar.gz symfony-security-f71752fe4a6da47022076606f151a1f3ca514af7.tar.bz2 |
Merge branch '2.7' into 2.8
* 2.7:
[SecurityBundle] Removing test insulations for a huge perf win
[Validator] Use the new interface in the README
[Filesystem] fix tests on 2.3
[Filesystem] Recursivly widen non-executable directories
[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
[Console][Table] fixed render row with multiple cells.
[Yaml] do not remove "comments" in scalar blocks
Conflicts:
src/Symfony/Component/Console/Application.php
src/Symfony/Component/Console/Tests/Fixtures/application_renderexception1.txt
src/Symfony/Component/Console/Tests/Fixtures/application_renderexception2.txt
src/Symfony/Component/Console/Tests/Fixtures/application_renderexception4.txt
src/Symfony/Component/Form/Extension/Core/Type/CollectionType.php
src/Symfony/Component/Form/Tests/Extension/Core/Type/CollectionTypeTest.php
src/Symfony/Component/Yaml/Tests/ParserTest.php
Diffstat (limited to 'Core/Encoder/BCryptPasswordEncoder.php')
-rw-r--r-- | Core/Encoder/BCryptPasswordEncoder.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Core/Encoder/BCryptPasswordEncoder.php b/Core/Encoder/BCryptPasswordEncoder.php index 96893ab..b992765 100644 --- a/Core/Encoder/BCryptPasswordEncoder.php +++ b/Core/Encoder/BCryptPasswordEncoder.php @@ -19,6 +19,8 @@ use Symfony\Component\Security\Core\Exception\BadCredentialsException; */ class BCryptPasswordEncoder extends BasePasswordEncoder { + const MAX_PASSWORD_LENGTH = 72; + /** * @var string */ |