projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6258ad
)
DataObjects/Core_person.php
author
edward
<edward@roojs.com>
Thu, 2 Nov 2017 11:51:41 +0000
(19:51 +0800)
committer
edward
<edward@roojs.com>
Thu, 2 Nov 2017 11:51:41 +0000
(19:51 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
60a0525
..
403ac3d
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-521,7
+521,9
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
}
function checkPassword($val)
{
-
+ if(!empty($this->oath_key)){
+ return $this->checkTwoFactorAuthentication();
+ }
if (substr($this->passwd,0,1) == '$') {
if (function_exists('pasword_verify')) {