aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-06-03 11:07:34 +0200
committerMarc Alexander <admin@m-a-styles.de>2017-06-03 11:07:34 +0200
commit170613848ad86cea1f140ed1cfdb55d581324ffb (patch)
treed129457d4a73d349965e781069a6bd87b8685050 /phpBB/config
parent70349864273eae4ee689cb1302bc416f5c535d25 (diff)
downloadforums-170613848ad86cea1f140ed1cfdb55d581324ffb.tar
forums-170613848ad86cea1f140ed1cfdb55d581324ffb.tar.gz
forums-170613848ad86cea1f140ed1cfdb55d581324ffb.tar.bz2
forums-170613848ad86cea1f140ed1cfdb55d581324ffb.tar.xz
forums-170613848ad86cea1f140ed1cfdb55d581324ffb.zip
[ticket/15219] Add console command for updating hashes to bcrypt
PHPBB3-15219
Diffstat (limited to 'phpBB/config')
-rw-r--r--phpBB/config/console.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/config/console.yml b/phpBB/config/console.yml
index 1e18a7dd37..4118803663 100644
--- a/phpBB/config/console.yml
+++ b/phpBB/config/console.yml
@@ -139,3 +139,15 @@ services:
- @dbal.conn
tags:
- { name: console.command }
+
+ console.command.fixup.update_hashes:
+ class: phpbb\console\command\fixup\update_hashes
+ arguments:
+ - @config
+ - @user
+ - @dbal.conn
+ - @passwords.manager
+ - @passwords.driver_collection
+ - %passwords.algorithms%
+ tags:
+ - { name: console.command }