projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4366cb6
)
Pman/Login.php
author
john
<john@roojs.com>
Thu, 11 Oct 2018 04:39:33 +0000
(12:39 +0800)
committer
john
<john@roojs.com>
Thu, 11 Oct 2018 04:39:33 +0000
(12:39 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
fae3e12
..
c5378af
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-134,8
+134,8
@@
class Pman_Login extends Pman
if (!$u->isAuth()) {
$this->jok(array(
'id' => 0,
- 'oath_require' =>
(bool)
? 1 : 0
- ));
// not logged in..
+ 'oath_require' =>
empty($oath_require) || $oath_require == 1
? 1 : 0
+ ));
exit;
}
//die("got here?");