mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/passwords] Rename manager methods to check() and hash()
These method names are more straightforward than the previous ones. PHPBB3-11610
This commit is contained in:
@@ -189,7 +189,7 @@ class manager
|
||||
* @return string|bool Password hash of supplied password or false if
|
||||
* if something went wrong during hashing
|
||||
*/
|
||||
public function hash_password($password, $type = '')
|
||||
public function hash($password, $type = '')
|
||||
{
|
||||
if (strlen($password) > 4096)
|
||||
{
|
||||
@@ -235,7 +235,7 @@ class manager
|
||||
* @param string $hash Stored hash
|
||||
* @return string|bool True if password is correct, false if not
|
||||
*/
|
||||
public function check_hash($password, $hash)
|
||||
public function check($password, $hash)
|
||||
{
|
||||
if (strlen($password) > 4096)
|
||||
{
|
||||
|
Reference in New Issue
Block a user