1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[feature/passwords] Add get_name() method to drivers

This will allow us to actually properly differentiate between the available
drivers.

PHPBB3-11610
This commit is contained in:
Marc Alexander
2013-08-21 16:31:57 -05:00
parent df8e5f4c3c
commit 58755c4972
3 changed files with 36 additions and 0 deletions

View File

@@ -3,6 +3,8 @@ services:
class: phpbb_crypto_driver_bcrypt
arguments:
- @config
calls:
- [set_name, [crypto.driver.bcrypt]]
tags:
- { name: crypto.driver }
@@ -10,6 +12,8 @@ services:
class: phpbb_crypto_driver_bcrypt_2y
arguments:
- @config
calls:
- [set_name, [crypto.driver.bcrypt_2y]]
tags:
- { name: crypto.driver }
@@ -17,6 +21,8 @@ services:
class: phpbb_crypto_driver_salted_md5
arguments:
- @config
calls:
- [set_name, [crypto.driver.salted_md5]]
tags:
- { name: crypto.driver }
@@ -24,6 +30,8 @@ services:
class: phpbb_crypto_driver_phpass
arguments:
- @config
calls:
- [set_name, [crypto.driver.phpass]]
tags:
- { name: crypto.driver }