aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/crypto/driver/salted_md5.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/crypto/driver/salted_md5.php')
-rw-r--r--phpBB/includes/crypto/driver/salted_md5.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/includes/crypto/driver/salted_md5.php b/phpBB/includes/crypto/driver/salted_md5.php
index 1bb7a17afc..26331e9a5b 100644
--- a/phpBB/includes/crypto/driver/salted_md5.php
+++ b/phpBB/includes/crypto/driver/salted_md5.php
@@ -141,4 +141,12 @@ class phpbb_crypto_driver_salted_md5 extends phpbb_crypto_driver_base
'full' => substr($hash, 0, 12),
);
}
+
+ /**
+ * @inheritdoc
+ */
+ public function get_settings_only($hash, $full = false)
+ {
+ return substr($hash, 3, 9);
+ }
}