projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
67c3329
)
Pman/Login.php
author
john
<john@roojs.com>
Thu, 11 Oct 2018 04:49:45 +0000
(12:49 +0800)
committer
john
<john@roojs.com>
Thu, 11 Oct 2018 04:49:45 +0000
(12:49 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
030df5c
..
4f64a73
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-135,10
+135,11
@@
class Pman_Login extends Pman
if (!$u->isAuth()) {
$this->jok(array(
'id' => 0,
- 'require_oath' => empty($oath_require) || $oath_require == 1 ? 1 : 0
+ 'require_oath' => empty($oath_require) || $oath_require
->val
== 1 ? 1 : 0
));
exit;
}
+
//die("got here?");
$au = $u->getAuthUser();