From 317581f9e3e4e93c4298115682dcf55ef8d58574 Mon Sep 17 00:00:00 2001 From: john Date: Wed, 10 Oct 2018 16:18:11 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pman/Login.php b/Pman/Login.php index 92ff30d..9efc955 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -319,7 +319,7 @@ class Pman_Login extends Pman if( !empty($u->oath_key) && - !$u->checkTwoFactorAuthentication($_REQUEST['oath_password']) + !$u->checkTwoFactorAuthentication($_REQUEST['oath_password'], $u->oath_key) ){ $this->jerror('LOGIN-BAD', 'You typed the wrong Username or Password (3)'); exit; -- 2.39.2