aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-05-11 22:23:23 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-06-01 21:31:04 +0200
commit1e758ba7f01fb07c2f497d755837bdce9bd57f18 (patch)
treebd288e8fe71af40ba694ace905e5d2eac7087c83 /phpBB/config
parent57e4fb38106a3ece446b8713693f89c8745538dc (diff)
downloadforums-1e758ba7f01fb07c2f497d755837bdce9bd57f18.tar
forums-1e758ba7f01fb07c2f497d755837bdce9bd57f18.tar.gz
forums-1e758ba7f01fb07c2f497d755837bdce9bd57f18.tar.bz2
forums-1e758ba7f01fb07c2f497d755837bdce9bd57f18.tar.xz
forums-1e758ba7f01fb07c2f497d755837bdce9bd57f18.zip
[ticket/12352] Add passwords driver for passwords that should be converted
This driver will only be used for getting the new $CP$ prefix that will signal that the hash is a legacy hash that needs to be converted. PHPBB3-12352
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/passwords.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/config/passwords.yml b/phpBB/config/passwords.yml
index 29986a85f2..4f4a4621ee 100644
--- a/phpBB/config/passwords.yml
+++ b/phpBB/config/passwords.yml
@@ -38,6 +38,14 @@ services:
tags:
- { name: passwords.driver }
+ passwords.driver.convert_password:
+ class: phpbb\passwords\driver\convert_password
+ arguments:
+ - @config
+ - @passwords.driver_helper
+ tags:
+ - { name: passwords.driver }
+
passwords.driver.sha1_smf:
class: phpbb\passwords\driver\sha1_smf
arguments: