private function onAutoLogin(Dog_User $user) { if ($user->isRegistered() && !$user->isLoggedIn()) { unset($this->tried[array_search($user->getID(), $this->tried)]); $user->setLoggedIn(true); $user->sendNOTICE($this->lang('logged_in')); } }