From: Tim Düsterhus Date: Wed, 18 Nov 2020 11:51:21 +0000 (+0100) Subject: fixup! Add EmailMultifactorMethod X-Git-Tag: 5.4.0_Alpha_1~555^2~48^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cce692e8b1f76e80ef70c896a9cbf79b6656e6c7;p=GitHub%2FWoltLab%2FWCF.git fixup! Add EmailMultifactorMethod --- diff --git a/wcfsetup/install/files/lib/system/user/multifactor/EmailMultifactorMethod.class.php b/wcfsetup/install/files/lib/system/user/multifactor/EmailMultifactorMethod.class.php index b487ed442b..55c4d0ea1d 100644 --- a/wcfsetup/install/files/lib/system/user/multifactor/EmailMultifactorMethod.class.php +++ b/wcfsetup/install/files/lib/system/user/multifactor/EmailMultifactorMethod.class.php @@ -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; } }