projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
197caee
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Wed, 10 Oct 2018 04:30:38 +0000
(12:30 +0800)
committer
john
<john@roojs.com>
Wed, 10 Oct 2018 04:30:38 +0000
(12:30 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
cca622e
..
e20ae82
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-800,12
+800,8
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
if(!empty($q['two_factor_auth_code'])) {
- $person = $this;
-
- if(isset($q['id'])) {
- $person = DB_DataObject::factory('core_person');
- $person->get($q['id']);
- }
+ $person = DB_DataObject::factory('core_person');
+ $person->get($q['id']);
if($person->checkTwoFactorAuthentication($q['two_factor_auth_code'])) {
$roo->jok('DONE');