From 54a9ad02bb5a80e5a70c518090ec54c151d12886 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 11 Oct 2018 12:49:45 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pman/Login.php b/Pman/Login.php index 030df5c..4f64a73 100644 --- 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(); -- 2.39.2