Merge branch 'saas-dev-publishing' into saas-dev-publishing-episode-view
This commit is contained in:
commit
a984cee13a
|
@ -7,9 +7,9 @@ class FeedsController extends Zend_Controller_Action
|
||||||
$this->view->layout()->disableLayout();
|
$this->view->layout()->disableLayout();
|
||||||
$this->_helper->viewRenderer->setNoRender(true);
|
$this->_helper->viewRenderer->setNoRender(true);
|
||||||
|
|
||||||
if (!RestAuth::verifyAuth(true, true, $this)
|
if ((Application_Model_Preference::getStationPodcastPrivacy()
|
||||||
&& (Application_Model_Preference::getStationPodcastPrivacy()
|
&& $this->getRequest()->getParam("sharing_token") != Application_Model_Preference::getStationPodcastDownloadKey())
|
||||||
&& $this->getRequest()->getParam("sharing_token") != Application_Model_Preference::getStationPodcastDownloadKey())) {
|
&& !RestAuth::verifyAuth(true, true, $this)) {
|
||||||
$this->getResponse()
|
$this->getResponse()
|
||||||
->setHttpResponseCode(401);
|
->setHttpResponseCode(401);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue