Fix class name of invalid password algorithm
authorMatthias Schmidt <gravatronics@live.com>
Mon, 2 Nov 2020 17:12:05 +0000 (18:12 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 2 Nov 2020 17:12:05 +0000 (18:12 +0100)
See #3580

wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.class.php [new file with mode: 0644]
wcfsetup/install/files/lib/system/user/authentication/password/algorithm/Invalid.php [deleted file]

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 (file)
index 0000000..232261b
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+namespace wcf\system\user\authentication\password\algorithm;
+use wcf\system\user\authentication\password\IPasswordAlgorithm;
+
+/**
+ * Always indicates that the password is invalid.
+ * 
+ * @author     Tim Duesterhus
+ * @copyright  2001-2020 WoltLab GmbH
+ * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @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 (file)
index 232261b..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-namespace wcf\system\user\authentication\password\algorithm;
-use wcf\system\user\authentication\password\IPasswordAlgorithm;
-
-/**
- * Always indicates that the password is invalid.
- * 
- * @author     Tim Duesterhus
- * @copyright  2001-2020 WoltLab GmbH
- * @license    GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @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;
-       }
-}