title: Change redirect after registration error in joomla
body: <p>I wrote a plugin for joomla that adds custom fields to the user/register component. There are 3 different registration forms for different user groups.</p>
  
  <p>The plugin acts on <code>onUserAfterSave()</code> and works fine, but there is one problem. When there is an error in the original user component, for example: "the username has already been taken" the form is redirected and neither <code>onUserAfterSave()</code> or <code>onUserBeforeSave()</code> is ever called.</p>
  
  <p>I want to change that redirection, but without changing the core, but since neither plugin events are called, im not sure how to. Can you guys help me? Maybe I am missing something!</p>
  
  <p>Is it possible to maybe override the save() function?</p>
  
  <p>THANKS</p>