From: Matthias Schmidt Date: Mon, 2 Nov 2020 17:12:05 +0000 (+0100) Subject: Fix class name of invalid password algorithm X-Git-Tag: 5.4.0_Alpha_1~651 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b831fd20f11e6d59606755abc1d9d29f5f4d060c;p=GitHub%2FWoltLab%2FWCF.git Fix class name of invalid password algorithm See #3580 --- diff --git a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.class.php b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.class.php new file mode 100644 index 0000000000..232261bf26 --- /dev/null +++ b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.class.php @@ -0,0 +1,35 @@ + + * @package WoltLabSuite\Core\System\User\Authentication\Password\Algorithm + * @since 5.4 + */ +final class Invalid implements IPasswordAlgorithm { + /** + * @inheritDoc + */ + public function verify(string $password, string $hash): bool { + return false; + } + + /** + * @inheritDoc + */ + public function hash(string $password): string { + return ''; + } + + /** + * @inheritDoc + */ + public function needsRehash(string $hash): bool { + return false; + } +} diff --git a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.php b/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.php deleted file mode 100644 index 232261bf26..0000000000 --- a/wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.php +++ /dev/null @@ -1,35 +0,0 @@ - - * @package WoltLabSuite\Core\System\User\Authentication\Password\Algorithm - * @since 5.4 - */ -final class Invalid implements IPasswordAlgorithm { - /** - * @inheritDoc - */ - public function verify(string $password, string $hash): bool { - return false; - } - - /** - * @inheritDoc - */ - public function hash(string $password): string { - return ''; - } - - /** - * @inheritDoc - */ - public function needsRehash(string $hash): bool { - return false; - } -}