aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-10-27 14:18:02 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-10-27 14:18:02 +0100
commit5193b3279cfcd4f7f5d656ec806b87e971c5523f (patch)
tree45bb4f9fd78e8a34e2057593aa4b68de9135e86b /phpBB/config
parent760f148a2ba581df61a25d3efd0e438b5ea77e7b (diff)
downloadforums-5193b3279cfcd4f7f5d656ec806b87e971c5523f.tar
forums-5193b3279cfcd4f7f5d656ec806b87e971c5523f.tar.gz
forums-5193b3279cfcd4f7f5d656ec806b87e971c5523f.tar.bz2
forums-5193b3279cfcd4f7f5d656ec806b87e971c5523f.tar.xz
forums-5193b3279cfcd4f7f5d656ec806b87e971c5523f.zip
[feature/passwords] Pass list of default types to passwords manager
This list is in the order of how the driver types would be used. If a driver is not supported we will try the subsequent one. PHPBB3-11610
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/passwords.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/phpBB/config/passwords.yml b/phpBB/config/passwords.yml
index 511f10c31c..4eeca4e34f 100644
--- a/phpBB/config/passwords.yml
+++ b/phpBB/config/passwords.yml
@@ -1,5 +1,9 @@
parameters:
- passwords.algorithm: passwords.driver.bcrypt_2y
+ passwords.algorithms:
+ - passwords.driver.bcrypt_2y
+ - passwords.driver.bcrypt
+ - passwords.driver.salted_md5
+ - passwords.driver.phpass
services:
passwords.driver.bcrypt:
@@ -60,7 +64,7 @@ services:
- @config
- @passwords.driver_collection
- @passwords.helper
- - %passwords.algorithm%
+ - %passwords.algorithms%
passwords.helper:
class: phpbb\passwords\helper