diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-05-05 20:52:21 -0400 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-05-05 20:52:21 -0400 |
commit | 18fe3b28330a234ef8a2c1a244b61ec2af1bb294 (patch) | |
tree | 53486cc25170c3d1108919df47aea8e088a4ab7d /phpBB/config | |
parent | ca9e3eb5282a933237636baf7e92a6b072baf477 (diff) | |
download | forums-18fe3b28330a234ef8a2c1a244b61ec2af1bb294.tar forums-18fe3b28330a234ef8a2c1a244b61ec2af1bb294.tar.gz forums-18fe3b28330a234ef8a2c1a244b61ec2af1bb294.tar.bz2 forums-18fe3b28330a234ef8a2c1a244b61ec2af1bb294.tar.xz forums-18fe3b28330a234ef8a2c1a244b61ec2af1bb294.zip |
[ticket/15219] Update hashes to bcrypt with cron
PHPBB3-15219
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/cron.yml | 14 | ||||
-rw-r--r-- | phpBB/config/password.yml | 7 |
2 files changed, 21 insertions, 0 deletions
diff --git a/phpBB/config/cron.yml b/phpBB/config/cron.yml index c5b88df181..dc628b43ff 100644 --- a/phpBB/config/cron.yml +++ b/phpBB/config/cron.yml @@ -146,3 +146,17 @@ services: - [set_name, [cron.task.core.tidy_warnings]] tags: - { name: cron.task } + + cron.task.core.update_hashes: + class: phpbb\cron\task\core\update_hashes + arguments: + - @config + - @dbal.conn + - @passwords.update.lock + - @passwords.manager + - @passwords.driver_collection + - %passwords.algorithms% + calls: + - [set_name, [cron.task.core.update_hashes]] + tags: + - { name: cron.task } diff --git a/phpBB/config/password.yml b/phpBB/config/password.yml index cb45ec3d42..938cef7e16 100644 --- a/phpBB/config/password.yml +++ b/phpBB/config/password.yml @@ -122,3 +122,10 @@ services: - @passwords.driver_helper tags: - { name: passwords.driver } + + passwords.update.lock: + class: phpbb\lock\db + arguments: + - update_hashes_lock + - '@config' + - '@dbal.conn' |