From c9afda5a655f5eec8819c4c090a0b31a73e35b87 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 15 Jun 2013 12:09:00 +0200 Subject: [feature/passwords] Use correct prefix for bcrypt type PHPBB3-11610 --- phpBB/includes/crypto/driver/bcrypt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/crypto/driver/bcrypt.php') diff --git a/phpBB/includes/crypto/driver/bcrypt.php b/phpBB/includes/crypto/driver/bcrypt.php index 8fe9b91ab8..12400cf376 100644 --- a/phpBB/includes/crypto/driver/bcrypt.php +++ b/phpBB/includes/crypto/driver/bcrypt.php @@ -45,7 +45,7 @@ class phpbb_crypto_driver_bcrypt extends phpbb_crypto_driver_base { // The 2x and 2y prefixes of bcrypt might not be supported // Revert to 2a if this is the case - $prefix = (!$this->is_supported()) ? '$2a$' : self::PREFIX; + $prefix = (!$this->is_supported()) ? '$2a$' : $this->get_prefix(); if ($salt == '') { -- cgit v1.2.1