Code $this->Auth->deny('*');
$this->Auth->allow(array('login'));
$this->Session->write('Auth.redirect', null);//Redirige al usuario a la página que deseaba una vez logado
AppController::beforeFilter() - APP/controllers/app_controller.php, line 55
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 522
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83