projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
919a041
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Wed, 10 Oct 2018 04:48:38 +0000
(12:48 +0800)
committer
john
<john@roojs.com>
Wed, 10 Oct 2018 04:48:38 +0000
(12:48 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
3d06e9a
..
aa7040e
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-809,6
+809,12
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
if($person->checkTwoFactorAuthentication($q['two_factor_auth_code'])) {
+ $o = clone($person);
+
+ $person->oath_key = $_SESSION[__CLASS__]['oath'][$person->id];
+
+ $person->update($o);
+
unset($_SESSION[__CLASS__]['oath'][$person->id]);
$roo->jok('DONE');