From cce692e8b1f76e80ef70c896a9cbf79b6656e6c7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 18 Nov 2020 12:51:21 +0100 Subject: [PATCH] fixup! Add EmailMultifactorMethod --- .../system/user/multifactor/EmailMultifactorMethod.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1