aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/crypto/manager.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-07-19 20:14:25 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-09-14 13:55:23 +0200
commit2e453eb2cb682031d7e521d23c3904c8dfeef70c (patch)
tree84b5e5c752b2a5c6bca135925bf4aec1bea6f1c7 /phpBB/includes/crypto/manager.php
parentbd4664807fad02819fb680f827fb1a4411364911 (diff)
downloadforums-2e453eb2cb682031d7e521d23c3904c8dfeef70c.tar
forums-2e453eb2cb682031d7e521d23c3904c8dfeef70c.tar.gz
forums-2e453eb2cb682031d7e521d23c3904c8dfeef70c.tar.bz2
forums-2e453eb2cb682031d7e521d23c3904c8dfeef70c.tar.xz
forums-2e453eb2cb682031d7e521d23c3904c8dfeef70c.zip
[feature/passwords] Add legacy support for md5 passwords
PHPBB3-11610
Diffstat (limited to 'phpBB/includes/crypto/manager.php')
-rw-r--r--phpBB/includes/crypto/manager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/crypto/manager.php b/phpBB/includes/crypto/manager.php
index 7f95bcdf60..753a86ae84 100644
--- a/phpBB/includes/crypto/manager.php
+++ b/phpBB/includes/crypto/manager.php
@@ -112,7 +112,7 @@ class phpbb_crypto_manager
*/
if (!preg_match('#^\$([a-zA-Z0-9\\\]*?)\$#', $hash, $match))
{
- return false;
+ return $this->type_map['$H$'];
}
// Be on the lookout for multiple hashing algorithms