mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15219] Add console command for updating hashes to bcrypt [ticket/15219] Add missing space [ticket/15219] Update hashes to bcrypt with cron
This commit is contained in:
@@ -212,6 +212,18 @@ services:
|
||||
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 }
|
||||
|
||||
console.command.reparser.list:
|
||||
class: phpbb\console\command\reparser\list_all
|
||||
arguments:
|
||||
|
@@ -232,3 +232,17 @@ services:
|
||||
- [set_reparser, [text_reparser.user_signature]]
|
||||
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 }
|
||||
|
@@ -127,3 +127,10 @@ services:
|
||||
- '@passwords.driver_helper'
|
||||
tags:
|
||||
- { name: passwords.driver }
|
||||
|
||||
passwords.update.lock:
|
||||
class: phpbb\lock\db
|
||||
arguments:
|
||||
- update_hashes_lock
|
||||
- '@config'
|
||||
- '@dbal.conn'
|
||||
|
Reference in New Issue
Block a user