public function socialEmail()
{
if (!$this->request->session()->check(Configure::read('Users.Key.Session.social'))) {
throw new NotFoundException();
}
$this->request->session()->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);
}
}