* SAAS-1168, SAAS-1153 - work on station podcast frontend

* SAAS-1164 - Styling fixes for publishing and podcast editors
This commit is contained in:
Duncan Sommerville 2015-11-03 13:18:55 -05:00
parent 4cd00b50ee
commit c0d8b8b39c
14 changed files with 246 additions and 149 deletions

View file

@ -7,8 +7,9 @@ class FeedsController extends Zend_Controller_Action
$this->view->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
if (Application_Model_Preference::getStationPodcastPrivacy()
&& $this->getRequest()->getParam("sharing_token") != Application_Model_Preference::getStationPodcastDownloadKey()) {
if (!RestAuth::verifyAuth(true, true, $this)
&& (Application_Model_Preference::getStationPodcastPrivacy()
&& $this->getRequest()->getParam("sharing_token") != Application_Model_Preference::getStationPodcastDownloadKey())) {
$this->getResponse()
->setHttpResponseCode(401);
return;