1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/15219] Update hashes to bcrypt with cron

PHPBB3-15219
This commit is contained in:
Marc Alexander
2017-05-05 20:52:21 -04:00
parent ca9e3eb528
commit 18fe3b2833
4 changed files with 184 additions and 0 deletions

View File

@@ -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 }

View File

@@ -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'