aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/passwords/driver/salted_md5.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-05-01 14:21:24 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-06-01 21:31:04 +0200
commitee72e7b3ad31d60fa1189c6d852f2134ab37f7f2 (patch)
tree8cb56984ad7197d0a380432c890abe4f002047d3 /phpBB/phpbb/passwords/driver/salted_md5.php
parent2ea45a06e724dfe9c3248fbb659d86558b55265e (diff)
downloadforums-ee72e7b3ad31d60fa1189c6d852f2134ab37f7f2.tar
forums-ee72e7b3ad31d60fa1189c6d852f2134ab37f7f2.tar.gz
forums-ee72e7b3ad31d60fa1189c6d852f2134ab37f7f2.tar.bz2
forums-ee72e7b3ad31d60fa1189c6d852f2134ab37f7f2.tar.xz
forums-ee72e7b3ad31d60fa1189c6d852f2134ab37f7f2.zip
[ticket/12352] Introduce user row to passwords check methods
This will ensure that legacy hash types that might need the user row can properly check if the supplied password is correct. PHPBB3-12352
Diffstat (limited to 'phpBB/phpbb/passwords/driver/salted_md5.php')
-rw-r--r--phpBB/phpbb/passwords/driver/salted_md5.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/passwords/driver/salted_md5.php b/phpBB/phpbb/passwords/driver/salted_md5.php
index a9f6712751..22e2557518 100644
--- a/phpBB/phpbb/passwords/driver/salted_md5.php
+++ b/phpBB/phpbb/passwords/driver/salted_md5.php
@@ -92,7 +92,7 @@ class salted_md5 extends base
/**
* @inheritdoc
*/
- public function check($password, $hash)
+ public function check($password, $hash, $user_row = array())
{
if (strlen($hash) !== 34)
{