DataObjects/Core_person.php
authoredward <edward@roojs.com>
Fri, 3 Nov 2017 05:38:17 +0000 (13:38 +0800)
committeredward <edward@roojs.com>
Fri, 3 Nov 2017 05:38:17 +0000 (13:38 +0800)
DataObjects/Core_person.php

index 308f4e4..2db4c6e 100644 (file)
@@ -521,10 +521,6 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
     } 
     function checkPassword($val)
     {
-        if(!empty($this->oath_key)){
-            return $this->checkTwoFactorAuthentication($val);
-        }
-        
         if (substr($this->passwd,0,1) == '$') {
             if (function_exists('pasword_verify')) {
                 return password_verify($val, $this->passwd);