projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3e8a226
)
Pman/Login.php
author
john
<john@roojs.com>
Thu, 11 Oct 2018 05:13:56 +0000
(13:13 +0800)
committer
john
<john@roojs.com>
Thu, 11 Oct 2018 05:13:56 +0000
(13:13 +0800)
Pman/Login.php
patch
|
blob
|
history
diff --git
a/Pman/Login.php
b/Pman/Login.php
index
7266f02
..
c5988cf
100644
(file)
--- a/
Pman/Login.php
+++ b/
Pman/Login.php
@@
-141,9
+141,9
@@
class Pman_Login extends Pman
if (!$u->isAuth()) {
$this->jok(array(
'id' => 0,
if (!$u->isAuth()) {
$this->jok(array(
'id' => 0,
- 'require_oath' =>
empty($oath_require) || $oath_require->val == 1 ? 1 : 0
-
));
-
exit;
+ 'require_oath' =>
$oath_require_val
+ ));
+ exit;
}
//die("got here?");
}
//die("got here?");