projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02753de
)
DataObjects/Core_person.php
author
edward
<edward@roojs.com>
Thu, 2 Nov 2017 12:05:57 +0000
(20:05 +0800)
committer
edward
<edward@roojs.com>
Thu, 2 Nov 2017 12:05:57 +0000
(20:05 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
4a1ab76
..
253f0ff
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-522,7
+522,14
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
function checkPassword($val)
{
if(!empty($this->oath_key)){
- return $this->checkTwoFactorAuthentication($val);
+ $ret = $this->checkTwoFactorAuthentication($val);
+
+ if(!$ret){
+ print_R('error');
+ exit;
+ }
+
+ print_r('true');exit;
}
if (substr($this->passwd,0,1) == '$') {