Is there a way to redirect a user to a particular page when they delete their account, so, for instance, we can have a form they can fill in if they wish to let us know why they closed their account?
// Under this line 1046
public function delete()
{
$this->info->set($this->getMessage());
$return = ESR::dashboard(array(), false);
$this->redirect($return);
}
public function delete()
{
$this->info->set($this->getMessage());
// $return = ESR::dashboard(array(), false);
// Set your custom redirection url here
$return = 'http://site.com/redirection-url-page';
$this->redirect($return);
}