Pman/Login.php
authorjohn <john@roojs.com>
Thu, 11 Oct 2018 03:53:23 +0000 (11:53 +0800)
committerjohn <john@roojs.com>
Thu, 11 Oct 2018 03:53:23 +0000 (11:53 +0800)
Pman/Login.php

index 2b8b9b5..992c793 100644 (file)
@@ -319,7 +319,7 @@ class Pman_Login extends Pman
         
         if(
             !empty($u->oath_key) && 
-            !$u->checkTwoFactorAuthentication($_REQUEST['oath_password'], $u->oath_key)
+            !$u->checkTwoFactorAuthentication($_REQUEST['oath_password'])
         ){
             $this->jerror('LOGIN-BAD', 'You typed the wrong Username or Password  (3)');
             exit;