1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[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
This commit is contained in:
Marc Alexander
2013-10-27 14:18:02 +01:00
parent 760f148a2b
commit 5193b3279c
8 changed files with 39 additions and 16 deletions

View File

@@ -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