From: john Date: Thu, 11 Oct 2018 05:13:56 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=68695b949baa2700dcbae6f81b400c4b4fe304c7 Pman/Login.php --- diff --git a/Pman/Login.php b/Pman/Login.php index 7266f02..c5988cf 100644 --- 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, - 'require_oath' => empty($oath_require) || $oath_require->val == 1 ? 1 : 0 - )); - exit; + 'require_oath' => $oath_require_val + )); + exit; } //die("got here?");