aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config/passwords.yml
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-09-22 22:53:10 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-09-22 22:53:10 +0200
commit01512104b5823d15eed64d362b41b9594f870f0c (patch)
tree0214f8bb0b271409bdee56960da10b6298bfb35e /phpBB/config/passwords.yml
parentf5eb0d744e46a2931aa667dbc7a8a4d9ea0229e6 (diff)
downloadforums-01512104b5823d15eed64d362b41b9594f870f0c.tar
forums-01512104b5823d15eed64d362b41b9594f870f0c.tar.gz
forums-01512104b5823d15eed64d362b41b9594f870f0c.tar.bz2
forums-01512104b5823d15eed64d362b41b9594f870f0c.tar.xz
forums-01512104b5823d15eed64d362b41b9594f870f0c.zip
[feature/passwords] Use dependency injection for passwords driver helper
The passwords driver helper is now injected into the driver base instead of being manually loaded. PHPBB3-11610
Diffstat (limited to 'phpBB/config/passwords.yml')
-rw-r--r--phpBB/config/passwords.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/config/passwords.yml b/phpBB/config/passwords.yml
index efd23d814c..41373fc83f 100644
--- a/phpBB/config/passwords.yml
+++ b/phpBB/config/passwords.yml
@@ -6,6 +6,7 @@ services:
class: phpbb_passwords_driver_bcrypt
arguments:
- @config
+ - @passwords.driver_helper
calls:
- [set_name, [passwords.driver.bcrypt]]
tags:
@@ -15,6 +16,7 @@ services:
class: phpbb_passwords_driver_bcrypt_2y
arguments:
- @config
+ - @passwords.driver_helper
calls:
- [set_name, [passwords.driver.bcrypt_2y]]
tags:
@@ -24,6 +26,7 @@ services:
class: phpbb_passwords_driver_salted_md5
arguments:
- @config
+ - @passwords.driver_helper
calls:
- [set_name, [passwords.driver.salted_md5]]
tags:
@@ -33,6 +36,7 @@ services:
class: phpbb_passwords_driver_phpass
arguments:
- @config
+ - @passwords.driver_helper
calls:
- [set_name, [passwords.driver.phpass]]
tags:
@@ -45,6 +49,9 @@ services:
tags:
- { name: service_collection, tag: passwords.driver }
+ passwords.driver_helper:
+ class: phpbb_passwords_driver_helper
+
passwords.manager:
class: phpbb_passwords_manager
arguments: