return;
} if ($this->
shouldAuth()) { if ($this->
checkAuth() === null
) { if ($this->request->
isXmlHttpRequest()) { throw new Enlight_Controller_Exception('Unauthorized', 401
);
} $this->action->
redirect('backend/'
);
} } else { $this->
initLocale();
} } /**
* @throws Enlight_Controller_Exception
*
* @return Shopware_Components_Auth|null
*/
public function checkAuth() { /** @var Shopware_Components_Auth $auth */