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

index 682a59d..60c78cc 100644 (file)
@@ -301,6 +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($ff->Pman);exit;
             $this->jerror('LOGIN-BADUSER', "Login not permited to outside companies"); // serious failure
         }