request->getSession()->check(Configure::read('Users.Key.Session.social'))) { throw new NotFoundException(); } $this->request->getSession()->delete('Flash.auth'); if ($this->request->is('post')) { $validPost = $this->_validateRegisterPost(); if (!$validPost) { $this->Flash->error(__d('CakeDC/Users', 'The reCaptcha could not be validated')); return; } $user = $this->Auth->identify(); return $this->_afterIdentifyUser($user, true); } } }