Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 287cf8d

Browse files
committed
Fix TwofaLoginForm
See 1e2b02f
1 parent 41281ea commit 287cf8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

file/lib/form/TwofaLoginForm.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function validate() {
6767
require_once(WCF_DIR.'lib/system/api/twofa/PHPGangsta/GoogleAuthenticator.php');
6868

6969
$ga = new \PHPGangsta_GoogleAuthenticator();
70-
$twofaHandler = \wcf\system\twofa\TwoFAHandler::getInstance();
70+
$twofaHandler = \wcf\system\user\authentication\TwoFAHandler::getInstance();
7171

7272
if (\wcf\util\PasswordUtil::secureCompare($this->twofaCode, WCF::getUser()->twofaEmergency)) {
7373
// emergency code was used, disable 2 factor

0 commit comments

Comments
 (0)