From 68695b949baa2700dcbae6f81b400c4b4fe304c7 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 11 Oct 2018 13:13:56 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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?"); -- 2.39.2