mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/14733] Use default cost factor in bcrypt constructor
PHPBB3-14733
This commit is contained in:
parent
1d40c0f43b
commit
297376ee94
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue