From ee72e7b3ad31d60fa1189c6d852f2134ab37f7f2 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Thu, 1 May 2014 14:21:24 +0200 Subject: [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 --- phpBB/phpbb/passwords/driver/bcrypt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/passwords/driver/bcrypt.php') diff --git a/phpBB/phpbb/passwords/driver/bcrypt.php b/phpBB/phpbb/passwords/driver/bcrypt.php index 3edf7255c0..de5840c7cf 100644 --- a/phpBB/phpbb/passwords/driver/bcrypt.php +++ b/phpBB/phpbb/passwords/driver/bcrypt.php @@ -60,7 +60,7 @@ class bcrypt extends base /** * @inheritdoc */ - public function check($password, $hash) + public function check($password, $hash, $user_row = array()) { $salt = substr($hash, 0, 29); if (strlen($salt) != 29) -- cgit v1.2.1