From: john Date: Wed, 10 Oct 2018 08:18:11 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=317581f9e3e4e93c4298115682dcf55ef8d58574 Pman/Login.php --- 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;