projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
057c5a6
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Tue, 9 Oct 2018 11:00:27 +0000
(19:00 +0800)
committer
john
<john@roojs.com>
Tue, 9 Oct 2018 11:00:27 +0000
(19:00 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
f4cf650
..
6ef88a6
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-804,7
+804,9
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
if(!empty($q['two_factor_auth_code'])) {
if(isset($q['id'])) {
- print_r('reutnr..');exit;
+ $person = DB_DataObject::factory('Core_person');
+ $person->get($q['id']);
+ $person->checkTwoFactorAuthentication($q['two_factor_auth_code']);
}
if($this->checkTwoFactorAuthentication($q['two_factor_auth_code'])) {