1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12352] Add get_settings_only method to passwords driver base

PHPBB3-12352
This commit is contained in:
Marc Alexander
2014-05-30 00:22:55 +02:00
parent f3eba6275a
commit 4b3aacfd18
11 changed files with 9 additions and 89 deletions

View File

@@ -51,4 +51,12 @@ abstract class base implements driver_interface
{
return false;
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -80,12 +80,4 @@ class bcrypt_wcf2 extends base
return $hash === $this->bcrypt->hash($this->bcrypt->hash($password, $salt), $salt);
}
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -39,12 +39,4 @@ class convert_password extends base
{
return false;
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -56,12 +56,4 @@ class md5_mybb extends base
return $hash === md5(md5($user_row['user_passwd_salt']) . md5($password));
}
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -114,12 +114,4 @@ class md5_phpbb2 extends base
return false;
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -56,12 +56,4 @@ class md5_vb extends base
return $hash === md5(md5($password) . $user_row['user_passwd_salt']);
}
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -48,12 +48,4 @@ class sha1 extends base
{
return $hash === sha1($password);
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -47,12 +47,4 @@ class sha1_smf extends base
{
return $hash === $this->hash($password, $user_row);
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -56,12 +56,4 @@ class sha1_wcf1 extends base
return $hash === sha1($user_row['user_passwd_salt'] . sha1($user_row['user_passwd_salt'] . sha1($password)));
}
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}

View File

@@ -64,12 +64,4 @@ class sha_xf1 extends base
}
}
}
/**
* @inheritdoc
*/
public function get_settings_only($hash, $full = false)
{
return false;
}
}