1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 23:55:26 +02:00

[feature/passwords] Default to bcrypt with $2y$ prefix if possible

PHPBB3-11610
This commit is contained in:
Marc Alexander 2013-06-15 10:37:10 +02:00
parent 78a8369173
commit 7a526284d3

View File

@ -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();