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

index dddf575..682a59d 100644 (file)
@@ -301,8 +301,6 @@ 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());
-            $test = $u->company()->comptype;
-            print_r($test);exit;
             $this->jerror('LOGIN-BADUSER', "Login not permited to outside companies"); // serious failure
         }