diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 11:39:31 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2015-12-22 11:39:31 +0100 |
commit | 7e232cb04c6d8d8aaaa288784d8313799b858448 (patch) | |
tree | f0d0350b35c503e2234a12e7c71d21f763bf5410 /Core/Encoder/BCryptPasswordEncoder.php | |
parent | 45301b2c7f653a92b06dbcc2a714ba4f590e928f (diff) | |
parent | d38f4c5cd9185cc8985bf64e71c1de782c5cef60 (diff) | |
download | symfony-security-7e232cb04c6d8d8aaaa288784d8313799b858448.zip symfony-security-7e232cb04c6d8d8aaaa288784d8313799b858448.tar.gz symfony-security-7e232cb04c6d8d8aaaa288784d8313799b858448.tar.bz2 |
Merge branch '3.0'
* 3.0:
Fix merge
[SecurityBundle] Removing test insulations for a huge perf win
[Validator] Use the new interface in the README
[Validator] Add missing pt_BR translation
Fix doctrine bridge tests on older PHP versions
[Filesystem] fix tests on 2.3
[Filesystem] Recursivly widen non-executable directories
[DependencyInjection] fixed definition loosing property shared when decorated by a parent definition
[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
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 d19c462..ddac77a 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 */ |