(!$this->company_id || ($ff->Pman['auth_comptype'] != $this->company()->comptype))
){
- // force a logout - without a check on the isAuth - as this is called from there..
- $db = $this->getDatabaseConnection();
- $appname = empty($ff->appNameShort) ? $ff->project : $ff->appNameShort;
- $sesPrefix =$appname.'-' .get_class($this) .'-'.$db->dsn['database'] ;
+ $sesPrefix = $this->sesPrefix();
$_SESSION[get_class($this)][$sesPrefix .'-auth'] = "";
+
return false;
$ff->page->jerr("Login not permited to outside companies");