mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 05:48:51 +00:00
[feature/passwords] Add service collection file crypto.yml
This will contain definitions of the services and the service collection that will be passed to the passwords manager. PHPBB3-11610
This commit is contained in:
parent
3a0dd248d0
commit
d66cae7cbc
2 changed files with 36 additions and 0 deletions
35
phpBB/config/crypto.yml
Normal file
35
phpBB/config/crypto.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
services:
|
||||
crypto.driver.bcrypt:
|
||||
class: phpbb_crypto_driver_bcrypt
|
||||
arguments:
|
||||
- @config
|
||||
tags:
|
||||
- { name: crypto.driver }
|
||||
|
||||
crypto.driver.bcrypt_2y:
|
||||
class: phpbb_crypto_driver_bcrypt_2y
|
||||
arguments:
|
||||
- @config
|
||||
tags:
|
||||
- { name: crypto.driver }
|
||||
|
||||
crypto.driver.salted_md5:
|
||||
class: phpbb_crypto_driver_salted_md5
|
||||
arguments:
|
||||
- @config
|
||||
tags:
|
||||
- { name: crypto.driver }
|
||||
|
||||
crypto.driver.phpass:
|
||||
class: phpbb_crypto_driver_phpass
|
||||
arguments:
|
||||
- @config
|
||||
tags:
|
||||
- { name: crypto.driver }
|
||||
|
||||
crypto.driver_collection:
|
||||
class: phpbb_di_service_collection
|
||||
arguments:
|
||||
- @service_container
|
||||
tags:
|
||||
- { name: service_collection, tag: crypto.driver }
|
|
@ -6,6 +6,7 @@ imports:
|
|||
- { resource: avatars.yml }
|
||||
- { resource: feed.yml }
|
||||
- { resource: auth_providers.yml }
|
||||
- { resource: crypto.yml }
|
||||
|
||||
services:
|
||||
acl.permissions:
|
||||
|
|
Loading…
Add table
Reference in a new issue