$au = $this->getAuthUser();
if (!$au) {
- $this->jerr("Not authenticated", array('authFailure' => true));
+ $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
}
$this->authUser = $au;
// check that it's a supplier!!!!
return true;
}
- function get()
+ function get($v, $opts=array())
{
$this->sessionState(0); // turn off the session..
header("Cache-Control: no-cache, must-revalidate");