From: john Date: Thu, 11 Oct 2018 04:49:45 +0000 (+0800) Subject: Pman/Login.php X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=54a9ad02bb5a80e5a70c518090ec54c151d12886 Pman/Login.php --- 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();