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

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