From 7a526284d3e60c8d97e611a8c54556c60ce0de03 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 15 Jun 2013 10:37:10 +0200 Subject: [PATCH] [feature/passwords] Default to bcrypt with $2y$ prefix if possible PHPBB3-11610 --- phpBB/includes/crypto/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/includes/crypto/manager.php b/phpBB/includes/crypto/manager.php index e54baba9b4..2647836cc8 100644 --- a/phpBB/includes/crypto/manager.php +++ b/phpBB/includes/crypto/manager.php @@ -57,7 +57,7 @@ class phpbb_crypto_manager { $this->config = $config; $this->container = $container; - $this->type = 'phpbb_crypto_driver_bcrypt'; // might want to make this flexible + $this->type = 'crypto.driver.bcrypt_2y'; // might want to make this flexible $this->fill_type_map($hashing_algorithms); $this->load_crypto_helper();