public function unauthorizedAction() { $this->view->identity = false; $auth = Zend_Auth::getInstance(); if ($auth->hasIdentity()) { $this->view->identity = $auth->getIdentity(); } }
Listing 38.3. Metoda akcji auth/unauthorized
Rozdział 38. Ograniczanie uprawnień użytkowników