From 1eecbccff6291a89ec4d7f11c7054db10dc38b27 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 21 Dec 2010 10:52:12 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pman/Login.php b/Pman/Login.php index ec63444..f1926b7 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -203,7 +203,7 @@ class Pman_Login extends Pman // check if config allows non-owner passwords. // auth_company = "OWNER" $ff= HTML_FlexyFramework::get(); - if (!empty($ff->Pman['auth_company']) && $ff->Pman['auth_company'] != $u->company()->comptype) { + if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $u->company()->comptype) { $this->jerr("Login not permited to outside companies"); } -- 2.39.2