diff options
author | Tristan Darricau <github@nicofuma.fr> | 2016-12-03 14:07:56 +0100 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2016-12-03 14:07:56 +0100 |
commit | 487df8befc9477c742b2794593c2ddb290c1c678 (patch) | |
tree | 7e04e7c2a5bcdcc1a7e19327669ec5ec52a57e88 /phpBB/config | |
parent | 48db9cbcf035001a9a39e88973d297104e89bbcb (diff) | |
parent | 380be9f1fd713dbcee91f12f18060d6b3ff4819e (diff) | |
download | forums-487df8befc9477c742b2794593c2ddb290c1c678.tar forums-487df8befc9477c742b2794593c2ddb290c1c678.tar.gz forums-487df8befc9477c742b2794593c2ddb290c1c678.tar.bz2 forums-487df8befc9477c742b2794593c2ddb290c1c678.tar.xz forums-487df8befc9477c742b2794593c2ddb290c1c678.zip |
Merge pull request #4405 from marc1706/ticket/14733
[ticket/14733] Support increasing hashing cost factor
* marc1706/ticket/14733:
[ticket/14733] Make sure detect_algorithm() works correctly and add tests
[ticket/14733] Extend passwords driver_interface in rehashable_driver_interface
[ticket/14733] Use new interface to preserve backwards compatibility
[ticket/14733] Use default cost factor in bcrypt constructor
[ticket/14733] Support increasing hashing cost factor
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/default/container/services_password.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_password.yml b/phpBB/config/default/container/services_password.yml index 82850dc2a7..c276365c56 100644 --- a/phpBB/config/default/container/services_password.yml +++ b/phpBB/config/default/container/services_password.yml @@ -1,3 +1,6 @@ +parameters: + passwords.driver.bcrypt_cost: 10 + services: # ----- Password management ----- passwords.manager: @@ -29,6 +32,7 @@ services: arguments: - '@config' - '@passwords.driver_helper' + - '%passwords.driver.bcrypt_cost%' tags: - { name: passwords.driver } @@ -37,6 +41,7 @@ services: arguments: - '@config' - '@passwords.driver_helper' + - '%passwords.driver.bcrypt_cost%' tags: - { name: passwords.driver } |