2013/08/07 - debug($this->Auth->login()); if ($this->Auth->login()) {}. is a bad idea. the first will log you in, the second call will then - of course - return false (since you are already logged in). If you really need to test this way, halt the code:.