Pman/Login.php
authorjohn <john@roojs.com>
Fri, 6 Apr 2018 03:38:14 +0000 (11:38 +0800)
committerjohn <john@roojs.com>
Fri, 6 Apr 2018 03:38:14 +0000 (11:38 +0800)
Pman/Login.php

index 60c78cc..a094d41 100644 (file)
@@ -302,7 +302,7 @@ class Pman_Login extends Pman
         if (!empty($ff->Pman['auth_comptype']) && $ff->Pman['auth_comptype'] != $u->company()->comptype) {
             //print_r($u->company());
             
-            print_r($ff->Pman);exit;
+            print_r($u->company()->comptype);exit;
             $this->jerror('LOGIN-BADUSER', "Login not permited to outside companies"); // serious failure
         }