fixup! Add EmailMultifactorMethod
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 18 Nov 2020 11:51:21 +0000 (12:51 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 18 Nov 2020 11:51:21 +0000 (12:51 +0100)
wcfsetup/install/files/lib/system/user/multifactor/EmailMultifactorMethod.class.php

index b487ed442b9462610d198746dc325de0f83193bc..55c4d0ea1d86ab0550fb30a61f53094b94055c68 100644 (file)
@@ -85,7 +85,7 @@ class EmailMultifactorMethod implements IMultifactorMethod {
        private function findValidCode(string $userCode, array $codes): ?array {
                $result = null;
                foreach ($codes as $code) {
-                       if (hash_equals($code['code'], $userCode)) {
+                       if (\hash_equals($code['code'], $userCode)) {
                                $result = $code;
                        }
                }