projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e11d4a
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Tue, 3 Apr 2018 04:06:46 +0000
(12:06 +0800)
committer
john
<john@roojs.com>
Tue, 3 Apr 2018 04:06:46 +0000
(12:06 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
b7d25fc
..
22c96d0
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-240,6
+240,8
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
$sesPrefix = $this->sesPrefix();
+ print_r($sesPrefix);exit;
+
$_SESSION[get_class($this)][$sesPrefix .'-auth'] = "";
return false;
@@
-267,7
+269,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
$u = DB_DataObject::factory($this->tableName());
if ($a->id && $u->get($a->id)) { //&& strlen($u->passwd)) {
- print_r($u->verifyAuth());exit;
+
return $u->verifyAuth(); // got authentication...