projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e57f004
)
DataObjects/Core_person.php
author
Alan Knowles
<alan@roojs.com>
Mon, 15 Oct 2018 05:19:59 +0000
(13:19 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 15 Oct 2018 05:19:59 +0000
(13:19 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
81b7f58
..
c8e4dc9
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-315,7
+315,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
if (empty($_SERVER['PATH_INFO']) || $_SERVER['PATH_INFO'] == '/Login') {
$auto_auth_allow = false;
}
if (empty($_SERVER['PATH_INFO']) || $_SERVER['PATH_INFO'] == '/Login') {
$auto_auth_allow = false;
}
- var_dump($auto_auth_allow);
+
//
var_dump($auto_auth_allow);
// local auth -
$default_admin = false;
if ($auto_auth_allow) {
// local auth -
$default_admin = false;
if ($auto_auth_allow) {
@@
-369,11
+369,9
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
}
}
if (!$n){ // authenticated as there are no users in the system...
}
}
if (!$n){ // authenticated as there are no users in the system...
- die("return true?");
- return true;
+ return true;
}
}
- die("return false?");
- return false;
+ return false;
}
}