Rollback last commit due to REST error when downloading files

This commit is contained in:
Albert Santoni 2015-02-06 14:43:34 -05:00
parent ed190c30f3
commit bcd7e3d70f
1 changed files with 5 additions and 2 deletions

View File

@ -119,8 +119,11 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
// we need to do API key verification
if ($request->getModuleName() == "rest") {
if (!$this->verifyAuth()) {
$this->getResponse()->sendResponse();
die();
//$this->denyAccess();
//$this->getResponse()->sendResponse();
//$r->gotoSimpleAndExit('index', 'login', $request->getModuleName());
//die();
}
}