aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/crypto/manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/crypto/manager.php b/phpBB/phpbb/crypto/manager.php
index 753a86ae84..e314b08865 100644
--- a/phpBB/phpbb/crypto/manager.php
+++ b/phpBB/phpbb/crypto/manager.php
@@ -58,11 +58,11 @@ class phpbb_crypto_manager
*
* @param phpbb_config $config phpBB configuration
*/
- public function __construct($config, $container, $hashing_algorithms)
+ public function __construct($config, $container, $hashing_algorithms, $default)
{
$this->config = $config;
$this->container = $container;
- $this->type = 'crypto.driver.bcrypt_2y'; // might want to make this flexible
+ $this->type = $default;
$this->fill_type_map($hashing_algorithms);
$this->load_crypto_helper();