projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb19c8b
)
DataObjects/Core_person.php
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:45:55 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Dec 2018 02:45:55 +0000
(10:45 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
006751a
..
9a57da0
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-327,8
+327,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
}
- if (empty($_SERVER['PATH_INFO']) || $_SERVER['PATH_INFO'] == '/Login' || $_SERVER['PATH_INFO'] == '/PasswordReset'
- ) {
+ if (empty($_SERVER['PATH_INFO']) || preg_match('#^(/Login$|/PasswordReset)#/', $_SERVER['PATH_INFO']) {
$auto_auth_allow = false;
}
//var_dump($auto_auth_allow);