projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0510bc0
)
Deprecate TPhpass::hash() and TPhpass::needsRehash()
author
Tim Düsterhus
<duesterhus@woltlab.com>
Thu, 28 Apr 2022 12:20:47 +0000
(14:20 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Thu, 28 Apr 2022 12:20:47 +0000
(14:20 +0200)
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php
patch
|
blob
|
blame
|
history
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/TPhpass.class.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php
b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php
index eef8ac37e27c01a60c5477382befb2d04e9b32d6..149f555144be7ef4efdb6a165c378161a1f7c189 100644
(file)
--- a/
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php
+++ b/
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Phpbb3.class.php
@@
-18,8
+18,6
@@
final class Phpbb3 implements IPasswordAlgorithm
{
use TPhpass {
verify as phpassVerify;
-
- hash as phpassHash;
}
public function verify(string $password, string $hash): bool
diff --git
a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/TPhpass.class.php
b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/TPhpass.class.php
index 64016dee78c76ad7fde37820eb61704e0900a74a..c684b75264808347b35489727bca5df12683561a 100644
(file)
--- a/
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/TPhpass.class.php
+++ b/
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/TPhpass.class.php
@@
-121,7
+121,7
@@
trait TPhpass
}
/**
- * @
inheritDoc
+ * @
deprecated 5.5 Use Phpass::hash() instead.
*/
public function hash(string $password): string
{
@@
-132,7
+132,7
@@
trait TPhpass
}
/**
- * @
inheritDoc
+ * @
deprecated 5.5 Use Phpass::needsRehash() instead.
*/
public function needsRehash(string $hash): bool
{