mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/13203] Use string_compare method in passwords drivers
PHPBB3-13203
This commit is contained in:
@@ -107,7 +107,7 @@ class salted_md5 extends base
|
||||
return md5($password) === $hash;
|
||||
}
|
||||
|
||||
return $hash === $this->hash($password, $hash);
|
||||
return $this->helper->string_compare($hash, $this->hash($password, $hash));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user