public function beforeFilter() { //enforce ssl for some shit if (in_array($this->request->params['action'], array("signup"))) { $this->enforceSSL(); } parent::beforeFilter(); $this->Auth->allow(); $this->initPermissions(); }
public function beforeFilter() { parent::beforeFilter(); $this->Auth->allow(); $this->initPermissions(); if (isset($this->request->params['uri'])) { $this->setHeroUnit(); } $this->setStore(); $this->set("body_element", "layout/unified-store-body"); $this->theme = "unified"; }
public function beforeFilter() { parent::beforeFilter(); $this->Auth->deny(); $this->initPermissions(); }