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

[ticket/14733] Use default cost factor in bcrypt constructor

PHPBB3-14733
This commit is contained in:
Marc Alexander
2016-08-16 21:08:00 +02:00
parent 1d40c0f43b
commit 297376ee94

View File

@@ -25,8 +25,9 @@ class bcrypt extends base
*
* @param \phpbb\config\config $config phpBB config
* @param \phpbb\passwords\driver\helper $helper Password driver helper
* @param int $cost_factor Hashing cost factor (optional)
*/
public function __construct(\phpbb\config\config $config, helper $helper, $cost_factor)
public function __construct(\phpbb\config\config $config, helper $helper, $cost_factor = 10)
{
parent::__construct($config, $helper);