function getAuth()
{
- // authed users only...
+ parent::getAuth(); // load company!
+ $au = $this->getAuthUser();
+
+ if (!$au) {
+ $this->jerr("Not authenticated", array('authFailure' => true));
+ }
+ if (!$au->pid() ) { // not set up yet..
+ $this->jerr("Not authenticated", array('authFailure' => true));
+ }
+
+
+ $this->authUser = $au;
+ return true;
}
+
+
+
}